jbastias / safe-read-write

Uses lockfile and mz (mz/fs) to write and read simple text files safely
0 stars 0 forks source link

Missing info for changing encoding #1

Open macasas opened 6 years ago

macasas commented 6 years ago

Hi

Where can I find the options to change my utf

It works with utf8 only How can I change it to utf16 or utf32 utf16 utf-16 utf_16 Neither of these work, perhaps the docs could show these?

Thanks

macasas commented 6 years ago

The answer appears to be open MS VS Code, go to the settings and search for encoding. It will show you that files are created in utf8. When you ask to edit this setting, it gives you a list of all the encoding text strings.

The short answer is utf8 utf8bom utf16le <--- This one works on OSX utf16be <--- This one gives zero bytes windows1252