Skip to content
Character set conversion for Go
Go Makefile
Branch: master
Clone or download
Latest commit 55c9d7a Mar 26, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
charset tidy includes Mar 26, 2019
cmd/tcs fix tcs error formats Mar 26, 2019
data update all references to go-charset to point to fork Oct 27, 2015
datafiles (optionally) strict ASCII class Jul 14, 2014
.travis.yml update travis Mar 26, 2019
LICENSE LICENSE and README Jul 14, 2014 README shows travis badge Oct 27, 2015

Character set conversion for Go

Build Status

A fork of go-charset, which itself is a port of inferno's convcs for Go, which supports conversion to and from utf-8 for the following character sets:

  • big5
  • ibm437
  • ibm850
  • ibm866
  • iso-8859-1
  • iso-8859-10
  • iso-8859-15
  • iso-8859-2
  • iso-8859-3
  • iso-8859-4
  • iso-8859-5
  • iso-8859-6
  • iso-8859-7
  • iso-8859-8
  • iso-8859-9
  • koi8-r
  • us-ascii
  • utf-16
  • utf-16be
  • utf-16le
  • utf-8
  • windows-1250
  • windows-1251
  • windows-1252

This project also includes an extra package which links to the GNU iconv library and adds all the character sets available from it.


Full API documentation is available here:



go-charset is available under the BSD 3-clause license. Details in LICENSE.

You can’t perform that action at this time.