Browse Source

Common infrstructure for gb18030 and GBK

span
J. King 6 years ago
parent
commit
766643aa37
  1. 106
      lib/Encoding/GB18030.php
  2. 113
      lib/Encoding/GBCommon.php
  3. 24
      lib/Encoding/GBK.php

106
lib/Encoding/GB18030.php

File diff suppressed because one or more lines are too long

113
lib/Encoding/GBCommon.php

File diff suppressed because one or more lines are too long

24
lib/Encoding/GBK.php

@ -0,0 +1,24 @@
<?php
/** @license MIT
* Copyright 2018 J. King et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
namespace MensBeam\Intl\Encoding;
class GBK extends GBCommon {
const NAME = "GBK";
const LABELS = [
"chinese",
"csgb2312",
"csiso58gb231280",
"gb2312",
"gb_2312",
"gb_2312-80",
"gbk",
"iso-ir-58",
"x-gbk",
];
const GBK = true;
}
Loading…
Cancel
Save