If it's indeed decoded, encode($destination_encoding, $string) will work (but you still need to know in which encoding you want to store it).
In reply to Re^3: How to encode for non-unicode output
by moritz
in thread How to encode for non-unicode output
by cheerful
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |