
bin-to-src | chars | crlf-to-lf | csvtotab | dec | decode | detab | encode | entab | hex | hexdump | hextobin | join | lf-to-crlf | oload | scantab | split | tabtocsv | utoa | uuencode | wtoa | wtou | Команда: wtou 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 list mydir .txt +perline "wtou $qtext"
if all .txt files in mydir use wide chars
then print them to terminal as UTF-8. |
![]() |