Re: Convert Characters
| From: | Adam Maccabee Trachtenberg | Date: | Mon, 29 Mar 2004 16:51:35 +0000 |
| Subject: | Re: Convert Characters | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359823@lists.php.net to get a copy of this message | ||
On Mon, 29 Mar 2004, Reuben Sant wrote:
> I need to do this because I need to store Unicode Characters in a MySQL
> database.. This is because Unicode chars example ŭ use 2 bytes and when
> I try to store it, it appears as 2 separate nonsense characters in the db.
>
> Is there any different solution to my prob? Maybe I dont need to convert the
> chars.. Is there a way to instruct a MySQL database to accept unice
> characters?
This isn't the right list for this, but you should read:
http://www.mysql.com/documentation/mysql/bychapter/manual_Charset.html
And follow up on php-general if you have more questions.
-adam
--
adam@trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!