Record of some of the computer tech I deal with so that it's documented at least somewhere.

Saturday 16 May 2009

Strip invalid characters UTF-8 from a bytestream

Found this at http://snippets.dzone.com/posts/show/6194

iconv -c -f UTF-8 -t UTF-8 < invalid > valid

No comments: