How do I convert CP-850 to UTF-8 using PHP?
What I've found and tried
Gist - pedrosancao/CharsetConversion.php
This seems like a fine solution, but since I'm working with a lot of text to change the encoding of, this is too slow. I got one process running for 40 minutes, changing the encoding of 1.5 megs of data.
I tried dos2unix -c iso -850 data.csv
, which converts CP-850 to ASCII, but this didn't do the trick.