7
2
Is the a tool (mac or online) that can help me to find out the character set of a text file, and then convert it to utf-8 ?
7
2
Is the a tool (mac or online) that can help me to find out the character set of a text file, and then convert it to utf-8 ?
9
If you are using Windows try downloading Notepad++. It should recognize the encoding and offers several conversions including UTF-8.
7
file -i filenamefile -I filenameFor instance,
$ file -i readme.txt
readme.txt: text/plain; charset=iso-8859-1
BTW, for converting, use iconv, for instance,
iconv -f ISO-8859-1 -t UTF-8 filename
Thanks, but it does not convert – ragnarius – 2015-06-01T21:15:50.787
1In speaking of converting, use the command iconv. For instance, iconv -f ISO-8859-1 -t UTF-8 filename – SparkAndShine – 2015-06-02T07:03:59.573
With file command, why did both two files encoded with big5 and gb2312 present iso-8859-1? – niaomingjian – 2018-02-11T06:24:07.203
if you need to convert your file: http://www.rishida.net/tools/conversion/
– Adrien Be – 2014-06-23T14:44:57.427Nice tool, thank you!! (my score is 11 so I can't boost your). – ragnarius – 2010-03-24T20:31:45.320