Skip to content

Commit

Permalink
Merge pull request #7 from hazington/patch-1
Browse files Browse the repository at this point in the history
Add CESU-8 to UTF-8 mapping
  • Loading branch information
zbateson authored May 26, 2022
2 parents bfd45fb + 95da1e2 commit 5d9d190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MbWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class MbWrapper
'ASMO708' => 'ISO-8859-6',
'BIG5' => 'BIG-5',
'BIG5TW' => 'BIG-5',
'CESU8' => 'UTF-8',
'CHINESE' => 'GB18030',
'CP367' => 'ASCII',
'CP819' => 'ISO-8859-1',
Expand Down Expand Up @@ -189,6 +190,7 @@ class MbWrapper
*/
public static $iconvAliases = [
// iconv aliases -- a lot of these may already be supported
'CESU8' => 'UTF8',
'CP154' => 'PT154',
'CPGR' => 'CP869',
'CPIS' => 'CP861',
Expand Down

0 comments on commit 5d9d190

Please sign in to comment.