Fix parsing charset strings with semicolon
Merge pull request #38 from leibowitz/fix_charset

Fix parsing charset strings with semicolon