- or download this
enc-converter cp1252 < file.txt > file_utf8.txt
#or
...
#or a mix:
some-process | enc-converter koi8-r > file_utf8.txt
enc-converter iso-8859-1 < file.txt | utf8-process
- or download this
#!/usr/bin/perl
...
binmode STDOUT, ":utf8";
print while (<>);
- or download this
perl -MEncode -le 'print for(Encode->encodings(":all"))'
- or download this
perl -CO -pe 'BEGIN{binmode STDIN,":encoding(cp936)"}' < file.txt > fi
+le.utf8