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:
- what encoding connection using.
- what locale collation using. (if applicable).
- what encoding sql statement in?
- what encoding string literals in?
- what encoding html form presented in?
Comments
Post a Comment