Swiss File Knife
a command line
free external tools,
- download the free Swiss File Knife Base from Sourceforge. - open the Windows CMD command line, Mac OS X Terminal or Linux shell. - OS X : type mv sfk-mac-i686.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk utow [-tofile out.txt] convert 8-bit UTF-8 encoded text to UCS-2 16-bit character binary data. options -codes print character codes -be big endian output -i read from stdin command chaining support uses text from a previous command. aliases sfk utftoucs same as utow see also sfk utow UTF-8 to wide chars sfk wtou wide chars to UTF-8 sfk atow Ansi to wide chars examples sfk load in.txt +utow -tofile out.txt load 8-bit UTF-8 text from in.txt and write wide char data to out.txt sfk utow in.txt +hexdump show a hexdump of ucs output. sfk load inutf.txt +utow +wtoa >out.txt convert UTF-8 text to Ansi.
sfk is a free open-source tool, running instantly without installation efforts. no DLL's,
no registry changes - just get sfk.exe from the zip package and use it (binaries for
windows, linux and mac are included).
read more about all sfk functions here.