![]() ![]() In an answer to a related question, CesarB mentions: This question has been asked many times on this site, so here's some additional information about "ANSI". name '*.txt' -exec iconv -verbose -f windows-1252 -t utf-8 \ Or in a find-all-and-conquer form: # this will clobber the original files! ![]() (Unless you know your system is using a codepage other than 1252 as its default codepage, in which case you'll need to tell iconv the right codepage to translate from.)Ĭonvert from one ( -f) to the other ( -t) with: $ iconv -f windows-1252 -t utf-8 infile > outfile Under Unix/Linux/Cygwin, you'll want to use "windows-1252" as the encoding instead of ANSI (see below). Cygwin or GnuWin32 provide Unix tools like iconv and dos2unix (and unix2dos).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |