UBotBuddy 331 Posted June 18, 2010 Report Share Posted June 18, 2010 I was building a bot and the site that I am working with has foreign language characters. I was going along fine, I then saved my bot and came back to it today and it would not work. After further checking I noticed that the characters had changed to all "????????????". Is this normal? Does this mean I cannot generate bots for these kinds of sites? Buddy Quote Link to post Share on other sites
barman 0 Posted June 18, 2010 Report Share Posted June 18, 2010 I've had this same problem as well. For example, bookmarking on a foreign pligg site. You need to make sure what you are pulling up (title, description) is UTF8 encoded. You can change encoding with Notepad++. So if your doc is ANSI, then change it to UTF-8 and the characters will pull up correctly. This is the other way around too - if you're saving to csv or txt, make sure you open it up UTF8 encoded Quote Link to post Share on other sites
UBotBuddy 331 Posted June 18, 2010 Author Report Share Posted June 18, 2010 So how do you use "choose by attribute" when you have to use text on the screen? Buddy Quote Link to post Share on other sites
alcr 135 Posted June 18, 2010 Report Share Posted June 18, 2010 I'm not really sure on what you're refering to here Buddy? Quote Link to post Share on other sites
UBotBuddy 331 Posted June 18, 2010 Author Report Share Posted June 18, 2010 When I use "choose by attribute" on some text that happens to be in another language. Using innertext it does not save that text. It changes the foreign language characters to question marks. Buddy Quote Link to post Share on other sites
New Guy 4 Posted June 19, 2010 Report Share Posted June 19, 2010 Hi, I had a similar problem with a bot that I was working on recently. The problem is that ubot will recognize the text at first but then when you refresh the bot or save it, it doesn't remember it anymore. The way I worked around this was to copy and paste the value or the inner text into one of my blogs. Here's an example http://26inchrims.org/scrape/ When the bot starts it goes to the page and scrapes the values and then sets them as variables. Then you can choose by attribute and use the variable as the value that you are choosing. It worked for the bot that I was making.. 1 Quote Link to post Share on other sites
ed! 0 Posted June 20, 2010 Report Share Posted June 20, 2010 thanks! that is what i am asking in another thread! http://ubotstudio.com/forum/index.php?/topic/4100-non-english-characterswords/ Quote Link to post Share on other sites
UBotBuddy 331 Posted June 20, 2010 Author Report Share Posted June 20, 2010 That is a good idea. Thanks for sharing. Quote Link to post Share on other sites
iglow 8 Posted September 8, 2010 Report Share Posted September 8, 2010 Great idea but would be good if there was any workaround aka ubot worked good with foreign letters Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.