seopolis 0 Posted June 12, 2013 Report Share Posted June 12, 2013 Does anybody knows how to handle a mysql query that inserts some utf-8 text into a table correctly ? I tried everything (I checked db collation and fields are all utf8-general-ci), but always the text stored in db like this: ???ed?? ??uh??? I think that the utf-8 encoding should be the default... Any help will be very appreciated.. Quote Link to post Share on other sites
blumi40 222 Posted June 13, 2013 Report Share Posted June 13, 2013 where have u wrote the script?if in a external editor like notepad u have to save it with utf8 format and then copy to ubot maybe that helps Quote Link to post Share on other sites
seopolis 0 Posted June 13, 2013 Author Report Share Posted June 13, 2013 It's a simple .txt file that I saved with utf8 encoding, and then I read that file to populate a database. It's a simple task, but can not overcome this encoding thing.. Thanks blumi40 for your suggestion anyway. Quote Link to post Share on other sites
peleus 2 Posted June 15, 2013 Report Share Posted June 15, 2013 Thanks. Other than utf8, are there other formats where ubot can read? Quote Link to post Share on other sites
nktsitas 0 Posted February 6, 2014 Report Share Posted February 6, 2014 Hello,have you found a solution to the utf8 encoding problem?I try to execute a simple mysql insert command with utf8 content and the result is ??????? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted January 7, 2015 Report Share Posted January 7, 2015 open file in notepadfile > save as Follow video on drop down for the format. then use inside ubot however you like http://screencast.com/t/5ufzcS59ZqW Quote Link to post Share on other sites
Hightower 2 Posted January 7, 2015 Report Share Posted January 7, 2015 WOW... Thanks buddy awesome 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.