Re: mbstring: Japanese conversion not working for me
| From: | Jean-Christian Imbeault | Date: | Tue, 09 Jul 2002 06:29:59 +0000 |
| Subject: | Re: mbstring: Japanese conversion not working for me | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106245@lists.php.net to get a copy of this message | ||
Found my problem. There was no problem. I was trying to test my code by
displaying the INPUT and OUTPUT in a web browser. I forgot to realize
that my input and oupts were in different encodings.
The browser can only display one encoding charset so of course either
the input or the output string I was displaying would be mangled.
So nothing was wrong with the output string I was trying to display. If
I changed the document encoding in my browser setting to that of the out
put string then I could read the output string fine and the input string
became mangled. Just as it should ;)
Jc