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 ;)


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to