I never said you should encode data *again*. I said *characters* need to be encoded. Once a character is encoded, it becomes a series of bytes.
I could comment elaborate, but it would help to know what I'm commenting about (i.e. see the changes you've made to your program).
In reply to Re^5: substitution regex and unicode
by ikegami
in thread substitution regex and unicode
by frasco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |