diff --git a/Text/XML/ToJSON.hs b/Text/XML/ToJSON.hs
--- a/Text/XML/ToJSON.hs
+++ b/Text/XML/ToJSON.hs
@@ -96,8 +96,8 @@
 getCodec :: CI.CI ByteString -> Maybe C.Codec
 getCodec c =
     case c of
-        "utf-8" -> Just C.utf8
-        "utf8"  -> Just C.utf8
-        "gbk"   -> Just C.iso8859_1
-        _       -> Nothing
+        "utf-8"   -> Just C.utf8
+        "utf8"    -> Just C.utf8
+        "iso8859" -> Just C.iso8859_1
+        _         -> Nothing
 
diff --git a/xml2json.cabal b/xml2json.cabal
--- a/xml2json.cabal
+++ b/xml2json.cabal
@@ -10,7 +10,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.1.0.0
+version:             0.1.0.1
 
 -- A short (one-line) description of the package.
 synopsis:            translate xml to json
