Re: Weird utf-8 encoding problem using webserver that does not occur in command line client
Posted by: Rick James
Date: July 02, 2009 08:17AM

And, in 5.0.15 and after:

mysql> SELECT CHAR_LENGTH(CHAR(50603 USING utf8));
+-------------------------------------+
| CHAR_LENGTH(CHAR(50603 USING utf8)) |
+-------------------------------------+
|                                   1 |
+-------------------------------------+
1 row in set (0.00 sec)

Options: ReplyQuote




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.