Logiciel Libre

October 15, 2009

writing a file as UTF-16, little-endian

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

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.

Leave a comment

Powered by WordPress