瀏覽代碼

:octocat:

smiley 2 年之前
父節點
當前提交
989c816197
共有 4 個文件被更改,包括 12 次插入12 次删除
  1. 8 8
      README.md
  2. 1 1
      src/Data/Hanzi.php
  3. 1 1
      src/Data/Kanji.php
  4. 2 2
      src/QRCode.php

+ 8 - 8
README.md

@@ -33,15 +33,15 @@ namespaced, cleaned up, improved and other stuff. It also features a QR Code rea
 - Generation of [Model 2 QR Codes](https://www.qrcode.com/en/codes/model12.html), [Version 1 to 40](https://www.qrcode.com/en/about/version.html)
 - [ECC Levels](https://www.qrcode.com/en/about/error_correction.html) L/M/Q/H supported
 - Mixed mode support (encoding modes can be mixed as needed within a QR symbol)
-  - Supported modes: numeric, alphanumeric, 8-bit binary as well as the double-byte modes kanji (Japanese, Shift-JIS) and hanzi (simplified Chinese, GB2312/GB18030)
+  - Supported modes: numeric, alphanumeric, 8-bit binary as well as the 13-bit double-byte modes kanji (Japanese, Shift-JIS) and hanzi (simplified Chinese, GB2312/GB18030)
 - Flexible, easily extensible output modules
-- Built-in support for the following output formats:
-  - [GdImage](https://www.php.net/manual/book.image)
-  - [ImageMagick](https://www.php.net/manual/book.imagick)
-  - Markup types: SVG, HTML, etc.
-  - String types: JSON, plain text, etc.
-  - Encapsulated Postscript (EPS)
-  - PDF via [FPDF](https://github.com/setasign/fpdf)
+  - Built-in support for the following output formats:
+    - [GdImage](https://www.php.net/manual/book.image)
+    - [ImageMagick](https://www.php.net/manual/book.imagick)
+    - Markup types: SVG, HTML, etc.
+    - String types: JSON, plain text, etc.
+    - Encapsulated Postscript (EPS)
+    - PDF via [FPDF](https://github.com/setasign/fpdf)
 - QR Code reader (via GD and ImageMagick)
 
 ## Documentation

+ 1 - 1
src/Data/Hanzi.php

@@ -16,7 +16,7 @@ use function chr, implode, is_string, mb_convert_encoding, mb_detect_encoding,
 	mb_detect_order, mb_internal_encoding, mb_strlen, ord, sprintf, strlen;
 
 /**
- * Hanzi (simplified Chinese) mode, GBT18284-2000: double-byte characters from the GB2312/GB18030 character set
+ * Hanzi (simplified Chinese) mode, GBT18284-2000: 13-bit double-byte characters from the GB2312/GB18030 character set
  *
  * Please note that this is not part of the QR Code specification and may not be supported by all readers (ZXing-based ones do).
  *

+ 1 - 1
src/Data/Kanji.php

@@ -16,7 +16,7 @@ use function chr, implode, is_string, mb_convert_encoding, mb_detect_encoding,
 	mb_detect_order, mb_internal_encoding, mb_strlen, ord, sprintf, strlen;
 
 /**
- * Kanji mode: double-byte characters from the Shift-JIS character set
+ * Kanji mode: 13-bit double-byte characters from the Shift-JIS character set
  *
  * ISO/IEC 18004:2000 Section 8.3.5
  * ISO/IEC 18004:2000 Section 8.4.5

+ 2 - 2
src/QRCode.php

@@ -382,7 +382,7 @@ class QRCode{
 	}
 
 	/**
-	 * Adds a Kanji data segment (Japanese double-byte characters, Shift-JIS)
+	 * Adds a Kanji data segment (Japanese 13-bit double-byte characters, Shift-JIS)
 	 *
 	 * ISO/IEC 18004:2000 8.3.5 - Kanji Mode
 	 */
@@ -393,7 +393,7 @@ class QRCode{
 	}
 
 	/**
-	 * Adds a Hanzi data segment (simplified Chinese double-byte characters, GB2312/GB18030)
+	 * Adds a Hanzi data segment (simplified Chinese 13-bit double-byte characters, GB2312/GB18030)
 	 *
 	 * GBT18284-2000 Hanzi Mode
 	 */