Subject: | Which character encoding is assumed?... |
Summary: | Package rating comment |
Messages: | 3 |
Author: | Judith Meyer |
Date: | 2007-12-01 22:05:57 |
Update: | 2007-12-02 09:42:17 |
|
|
|
Judith Meyer rated this package as follows:
Utility: | Not sure |
Consistency: | Good |
Documentation: | Good |
Examples: | Good |
|
 Judith Meyer - 2007-12-01 22:05:57
Which character encoding is assumed? I am having trouble making this work for a Unicode site. (without all the Ajax)
 Yaroslav Shapoval - 2007-12-01 22:47:42 - In reply to message 1 from Judith Meyer
Oh! If my memorie does not tricking me, the encoding was windows-1251.
Converting the incoming string from UTF-8 to windows-1251 will help you.
Need help - write to yaroslav*dot*shapoval**at**gmail*dot*com
 Judith Meyer - 2007-12-02 09:42:29 - In reply to message 2 from Yaroslav Shapoval
Thanks. I experimented and KOI-7 worked for me. However, since my system locale isn't Russian or anything, I had to replace strtolower with mb_strtolower in the class, otherwise the output was all capital letters. Maybe you can make that change to the class itself, because I believe mb_strtolower works for all systems and encodings, independent of locale.
|