Technical stuff

Friday, 12 October 2012

Convert text encoded in cp936 to utf-8 using iconv

learned from http://notepad2.blogspot.ca/2012/07/mac-os-x-convert-gb2312gbkgb18030.html

Mac OS X comes with the iconv utility:
  # convert from cp936 to utf-8
  iconv -f cp936 -t utf-8 chinese-gb2312.txt > chinese-utf8.txt

  # To list the encodings that iconv supports:
  iconv -l
Posted by Unknown at 13:48 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: encoding, iconv, utf-8
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2015 (2)
    • ►  July (1)
    • ►  March (1)
  • ►  2013 (3)
    • ►  August (1)
    • ►  January (2)
  • ▼  2012 (13)
    • ►  December (3)
    • ►  November (5)
    • ▼  October (1)
      • Convert text encoded in cp936 to utf-8 using iconv
    • ►  September (4)

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.