It's hard to say, because you don't tell us where and how things fail.
The best approach IMO is to properly Encode::decode the data as you read it in and then properly Encode::encode it again as you write it to its target store.
In reply to Re: Korean characters messing with all scripts
by Corion
in thread Korean characters messing with all scripts
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |