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 wtou in.txt convert UCS-2 encoded text with 16-bit characters into 8-bit characters encoded as UTF-8. options -tofile x write output to file x -nobom write no BOM header -codes print character codes -be big endian input -le little endian input command chaining support iwtou accepts binary input from previous commands like xed. aliases sfk ucstoutf same as wtou sfk iucstoutf same as iwtou see also sfk utow UTF-8 to wide chars sfk wtoa wide chars to Ansi examples sfk wtou in.txt if in.txt contains wide character data print this as UTF-8 text to terminal. sfk wtou in.txt -tofile out.txt write UTF-8 output to out.txt.
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.