MySQL Forums :: Character Sets, Collation, Unicode :: Command line UTF8 encoding

Advanced Search

Command line UTF8 encoding
Posted by: Gabriel Llamas ()
Date: May 28, 2010 06:37AM


I've writed a web application, ALL elements with UTF8 encoding. In the client size I have a textarea where I can wirte SQL statements. For example, if I do an insert with a special character and after I do a select, the special character is displayed correctly (I've also modified my.ini file). Also, in netbeans I can insert an select special characters and all works fine.

But a I have a problem with the command line. If I try to insert a special character I get the error 1366 (incorrect string value). If I do a select of a value previously introduced with my application (or netbeans) it show wrong symbols.

How can I change the command line encoding to UTF8?


Options: ReplyQuote

Subject Views Written By Posted
Command line UTF8 encoding 16441 Gabriel Llamas 05/28/2010 06:37AM
Re: Command line UTF8 encoding 7892 Barry Galbraith 05/28/2010 06:23PM
Re: Command line UTF8 encoding 5025 Gabriel Llamas 05/29/2010 01:05AM
Re: Command line UTF8 encoding 4415 Barry Galbraith 05/29/2010 01:40AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.