in reply to Can't write cyrillic to DBD::mysql
I'm not sure what is going wrong, and my experience with a DB holding non-ASCII characters is with Postgres and with Greek characters. Accordingly I can't give you answers but can recommend a few things which may help you with your debugging.
What is the value of $sql when you execute the third command?
Are you absolutely certain it contains UTF8 encoded Cyrillic characters?
If you read a Cyrillic string from your DB and then write it back to another location, does it get corrupted?
Is it only Cyrillic which is giving problems, or do other characters outside code page zero? (My guess is that they won't work either; try experimenting with Greek, Korean, or the like.)
Good luck!
Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't write cyrillic to DBD::mysql
by Wolfgang (Novice) on Jun 29, 2010 at 10:48 UTC |