Quantcast
Channel: Encoding – The Wiert Corner – irregular stream of stuff
Viewing all articles
Browse latest Browse all 160

Some notes on stripping NULL characters and BOMs from files

$
0
0

A while ago I bumped into applications that write alternating UTF-16 and UTF-8 to files without checking what type of encoding the files were using.

So here are some notes to at least save some of the contents.

TODO: figure out how to strip the BOM.

–jeroen


Filed under: Development, Encoding, Software Development, UTF-16, UTF-8, UTF16, UTF8

Viewing all articles
Browse latest Browse all 160

Trending Articles