Tag

GBK

0 views collected around this technical thread.

Lobster Programming
Lobster Programming
Feb 27, 2025 · Fundamentals

Why Garbled Characters Appear: Exploring ASCII, GB2312, GBK & Unicode

This article explains how character encoding works—from ASCII and its extensions to Chinese GB2312 and GBK, through Unicode's UCS‑2, UCS‑4, and the versatile UTF‑8—showing why mismatched encodings produce garbled text and why UTF‑8 is the default in Spring Boot.

ASCIIGB2312GBK
0 likes · 9 min read
Why Garbled Characters Appear: Exploring ASCII, GB2312, GBK & Unicode
Sohu Tech Products
Sohu Tech Products
Jul 12, 2023 · Fundamentals

The Mystery of Character Encoding: Unicode, UTF‑8, UTF‑16, GBK and Emoji

This article explains the fundamentals of character encoding, covering Unicode’s universal character set, the structure of its planes and surrogate areas, the variable‑length UTF‑8 and UTF‑16 encodings, Chinese‑specific GBK encoding, and practical iOS code examples for handling Unicode, emojis and regular‑expression based Chinese character detection.

GBKUTF-8Unicode
0 likes · 12 min read
The Mystery of Character Encoding: Unicode, UTF‑8, UTF‑16, GBK and Emoji
IT Services Circle
IT Services Circle
Mar 4, 2022 · Fundamentals

Understanding Character Encoding: From GBK and UTF-8 to Unicode

This tutorial explains the origins and evolution of character encoding, covering early ASCII, Chinese GBK/GB18030, the universal Unicode standard, UTF‑8 variable‑length encoding, and practical differences between Python 2 and Python 3 with code examples.

ASCIIGBKPython
0 likes · 9 min read
Understanding Character Encoding: From GBK and UTF-8 to Unicode
macrozheng
macrozheng
Feb 8, 2021 · Fundamentals

Why Do You See “锟斤拷” in Text? Uncover the Encoding Mystery

This article explains how character encoding works, using ASCII, Unicode, UTF‑8 and GBK examples to reveal why the garbled string “锟斤拷” appears when mismatched encodings are processed, and shows the underlying byte‑level transformations.

ASCIIGBKUTF-8
0 likes · 4 min read
Why Do You See “锟斤拷” in Text? Uncover the Encoding Mystery
Architecture Digest
Architecture Digest
Mar 8, 2020 · Databases

MySQL Encoding Process and Character Set Handling

This article explains how MySQL’s character_set parameters such as character_set_client and character_set_results control the encoding and decoding of client commands and query results, illustrates common pitfalls with UTF‑8, GBK and Latin‑1, and provides practical commands to avoid garbled text.

DatabaseGBKMySQL
0 likes · 10 min read
MySQL Encoding Process and Character Set Handling
NetEase Game Operations Platform
NetEase Game Operations Platform
Aug 10, 2019 · Operations

Resolving Chinese Filename Encoding Issues on S3 Website with Nginx Proxy

The article explains how Chinese filenames cause encoding errors when uploading to Amazon S3, why S3 forces UTF‑8 for website access, and presents a practical Nginx‑based proxy solution that transparently converts GBK‑encoded URIs to UTF‑8 to ensure reliable file retrieval.

GBKNginxS3
0 likes · 9 min read
Resolving Chinese Filename Encoding Issues on S3 Website with Nginx Proxy
Python Programming Learning Circle
Python Programming Learning Circle
Sep 22, 2018 · Backend Development

How to Accurately Substring Chinese Text in PHP Across GBK and UTF-8

This guide explains how to correctly truncate strings containing Chinese characters in PHP by detecting character byte length for GBK and UTF‑8 encodings, and provides a reusable my_substr function with example usage.

Chinese charactersGBKUTF-8
0 likes · 4 min read
How to Accurately Substring Chinese Text in PHP Across GBK and UTF-8