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-64.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux-64.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk atow [-tofile out.txt] convert 8-bit Ansi codepage text to UCS-2 16-bit character binary data. options -codes print character codes -be big endian output -i read from stdin -codepage=n change codepage. more under: sfk listcodes command chaining support uses text from a previous command. aliases sfk ansitoucs same as atow see also sfk wtoa wide chars to Ansi sfk utow UTF-8 to wide chars examples sfk load in.txt +atow -tofile out.txt load 8-bit Ansi text from in.txt and write wide char data to out.txt sfk atow in.txt +hexdump show a hexdump of ucs output.
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.