utf 8 - MySQL charset needed -


i'm developing application native language learning. need store characters 'ẽũ'. database set utf-8 charset default collation, table affected characters.

the problem when try add row using regular sql insert:

insert text(spanish,guarani) values('text','ẽũ'); 

this throws warning:

warning code : 1366 incorrect string value: '\xe1\xba\xbd\xc5\xa9' column 'guarani' @ row 1 

and result "??" there characters.

question: these characters not covered utf-8 charset? 1 need?

note: same problem latin-1

thanks.

quick!!! read http://www.joelonsoftware.com/articles/unicode.html

it required reading.

once have read that, should ask yourself:

  1. what encoding connection using.
  2. what locale collation using. (if applicable).
  3. what encoding sql statement in?
  4. what encoding string literals in?
  5. what encoding html form presented in?

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -