Adam Monsen

October 15, 2009

writing a file as UTF-16, little-endian

Filed under: Default — Tags: — adam @ 10:50 am PST

With Vim, “:set bomb”, then “:set fenc=utf-16le”, then write the file to disk.

From the command line: “uconv -t –add-signature -t UTF-16LE in.txt -o out.txt”.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress