Tagged articles
UTF-8
81 articles · Page 1 of 1
This article explains why MySQL's utf8 character set only supports up to three bytes per character, causing failures with emoji and complex characters, and details the historical reasons behind this limitation, recommending utf8mb4 for full UTF-8 support.
MySQLRFC 3629UTF-8
0 likes · 10 min read

MySQL's utf8 character set only supports up to three bytes per character, causing errors when storing emoji or complex characters that require four bytes; the article explains the historical reason for this limitation and demonstrates that utf8mb4 is the true UTF-8 implementation introduced in 2010.
MariaDBMySQLUTF-8
0 likes · 9 min read

This article explains why internationalization and localization should be implemented from the start, covering UTF-8 encoding, locale handling, resource bundles, dynamic content translation strategies, time zone and currency best practices, legal compliance like GDPR, and real-world failure cases.
DateTimeFormatterJavaJavaMoney
0 likes · 12 min read

This article explains how computers store Chinese characters using Unicode and UTF-8, covering the history of encoding chaos, Unicode code points, UTF-8 variable-length encoding rules, a step-by-step example of encoding '中', common mojibake causes, BOM, and programming best practices like using utf8mb4 in MySQL.
BOMMySQL utf8mb4UTF-8
0 likes · 10 min read

This article explains how Python 3 treats all strings as Unicode by default, removing the need for encoding declarations required in Python 2, and demonstrates the behavior on Windows and Linux where the default environment encoding shifts from ASCII to UTF-8.
PythonPython 2 vs Python 3Python 3
0 likes · 4 min read


TonyBaiAug 28, 2026 · Industry Insights
Rob Pike, co‑creator of UTF‑8, the Blit terminal, Plan 9, and the Go programming language, has been honored with the 2026 USENIX Lifetime Achievement (Flame) Award, recognizing his foundational work across operating systems, languages, user interfaces, tools, and text representation that spans four decades of computing.
Go LanguagePlan 9Rob Pike
0 likes · 9 min read

The Python 3.15 beta introduces lazy imports, built‑in frozendict and sentinel types, a low‑overhead sampling profiler, JIT speed gains, unpacking syntax in comprehensions, UTF‑8 as the default encoding, smarter error messages, TypedDict enhancements, and a rollback of incremental GC, each backed by concrete examples and practical guidance for immediate adoption.
JITPythonPython 3.15
0 likes · 15 min read

This guide walks programmers through Unicode’s massive code space, its diverse scripts, encoding schemes like UTF‑8 and UTF‑16, combining marks, canonical equivalence, normalization forms, and grapheme clusters, explaining why the system is complex yet essential for global text handling.
UTF-16UTF-8Unicode
0 likes · 21 min read

Windows 11’s built‑in Notepad has become bloated and still lacks essential editing features such as syntax highlighting, line numbers, and code folding, while Notepad4, a modern C++ rewrite, restores those basics, adds CPU‑specific optimizations, multilingual support, and fast handling of large files.
AVX2C++Notepad4
0 likes · 6 min read

This article walks through eight often‑overlooked Go language nuances—ranging from direct integer iteration and generic type constraints to UTF‑8 string length, nil interface pitfalls, safe nil method calls, time.After resource leaks, empty‑struct semaphores, and JSON field omission—showing concrete code examples, common mistakes, and recommended practices.
GenericsGoJSON
0 likes · 9 min read


21CTODec 20, 2025 · Fundamentals
Python 3.15.0 alpha 3, the third of seven planned pre‑release versions, introduces a high‑frequency low‑overhead statistical profiler, makes UTF‑8 the default source encoding, adds a new C‑API for byte objects, and delivers clearer error messages, all while remaining a test‑only build.
Alpha ReleasePEP 799Python
0 likes · 6 min read

This article explains the relationships between bits, binary, hexadecimal, bytes and strings, shows how computers store and process data using binary, demonstrates hexadecimal and Base64 encodings, provides conversion tables and examples, and clarifies how UTF‑8 encodes characters.
Base64UTF-8binary
0 likes · 13 min read

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.
GB2312GBKSpring Boot
0 likes · 9 min read


ITPUBJan 18, 2025 · Cloud Native
Prometheus 3.0, the first major release in seven years, introduces a rebuilt UI, Remote‑Write 2.0 with richer metadata, full UTF‑8 support, native OpenTelemetry ingestion, experimental native histograms, performance gains, and a set of breaking changes that require careful migration.
Native HistogramsPrometheusUTF-8
0 likes · 8 min read

Prometheus 3.0, the first major release in seven years, adds a fresh UI, native OTLP support, full UTF‑8 handling, native histograms and performance boosts, while also offering guidance on high‑cardinality, alert for‑fields, storage and high‑availability challenges for modern monitoring deployments.
OTLPPrometheusUTF-8
0 likes · 6 min read

Prometheus 3.0, the first major release in seven years, introduces a revamped UI, Remote Write 2.0 with native metadata and histogram support, full UTF‑8 metric and label names, OTLP ingestion, performance gains over 2.x, and a roadmap of upcoming cloud‑native enhancements.
OTLPPrometheusUTF-8
0 likes · 9 min read

Prometheus 3.0 introduces a brand‑new UI, full UTF‑8 support, native OTLP metrics ingestion, native histograms, performance gains, and guidance on high‑cardinality, alert rule, storage, and high‑availability concerns for modern cloud‑native monitoring deployments.
OTLPUTF-8cloud-native
0 likes · 5 min read

This article explains why emojis become garbled when transmitted via sockets, explores Unicode encoding fundamentals—including UTF‑8, BMP and high‑code‑point characters—and provides practical solutions using codePointAt, TextEncoder, and TextDecoder to ensure correct emoji handling.
SocketTextDecoderTextEncoder
0 likes · 11 min read

Rob Pike and Ken Thompson devised UTF‑8 in 1992 at Bell Labs, turning a three‑day prototype into the web’s dominant Unicode encoding by using a variable‑length, ASCII‑compatible, length‑prefixed and prefix‑free scheme that maximizes efficiency, robustness, and universal adoption across more than 96 % of sites.
UTF-8Unicodeencoding
0 likes · 6 min read

This article explains how computer text is represented by assigning unique numeric codes to characters and converting those codes into binary, then compares the most common Chinese encodings—ASCII, GB2312, GBK, GB18030, and UTF‑8—detailing their compatibility, byte lengths, and practical impact on software development.
GB18030GB2312GBK
0 likes · 14 min read

This article explains the purpose and mechanics of common Chinese character encodings—including ASCII, GB2312, GBK, GB18030, UTF‑8, ANSI and Latin‑1—detailing how they map characters to numbers, handle byte boundaries, and maintain compatibility to avoid garbled text.
ChineseGBKUTF-8
0 likes · 13 min read

The article explains how a binary message on a multilingual public‑restroom sign was decoded by identifying UTF‑8 byte patterns, extracting the first 24 bits to reveal the Chinese character “向”, and providing a Java program that parses the entire bit string into readable Chinese text.
JavaUTF-8Unicode
0 likes · 4 min read

A programmer discovers a binary message on a multilingual restroom sign, deduces it uses UTF‑8 encoding, explains the encoding rules, and provides a Java program that converts the binary sequence into the Chinese character "向", demonstrating practical UTF‑8 decoding.
AlgorithmJavaUTF-8
0 likes · 5 min read

This article explains the history, purpose, and differences of major character encodings—including ASCII, GB2312, Unicode, and UTF-8—while showing how they are used and converted in modern computing environments.
GB2312UTF-8Unicode
0 likes · 11 min read

During a Spring Festival park visit, I discovered a binary‑encoded poster, used OCR and custom Go code to translate the bits, learned it was UTF‑8 Unicode for Chinese characters, and explained the byte‑pattern rules that reveal the hidden message.
Binary DecodingPythonUTF-8
0 likes · 5 min read

This article explains the concepts of characters, character sets, and character encoding, describes how computers store and render text using methods like ASCII, GB2312, Unicode, and UTF‑8/16/32, and discusses why garbled text occurs across different languages and systems.
UTF-8Unicodeascii
0 likes · 10 min read

This guide explains the essential character set encodings—ANSI, ASCII, GB2312/GBK/GB18030, Unicode planes, UTF‑16, UTF‑32, and UTF‑8—and shows how they are used in MFC and Qt, providing code examples to avoid garbled text in software.
ANSIMFCQt
0 likes · 8 min read

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

This guide explains common character encodings such as ANSI, ASCII, GB2312/GBK/GB18030, Unicode, UTF‑8, UTF‑16, and UTF‑32, and shows how to handle them in MFC and Qt with practical code examples.
ANSIMFCQt
0 likes · 8 min read

This article explains the fundamentals of character sets and encodings—including ASCII, GB2312, GBK, Unicode, UTF‑8, UTF‑16, and UCS‑2—shows how they affect JavaScript string length, emoji handling, and common pitfalls such as combining characters, endianness, and BOM issues.
JavaScriptUTF-8Unicode
0 likes · 31 min read

Apache SpamAssassin 4.0 introduces comprehensive Unicode support, enhanced geolocation, improved Bayesian filtering for non‑English mail, better SSL client certificate handling, new DKIM/SPF and URL‑expansion plugins, and an ExtractText plugin for attachment analysis, representing a major upgrade over the 3.4 series.
Bayesian FilteringSpamAssassinUTF-8
0 likes · 3 min read

The article traces character encoding from early telegraph and Morse code through ASCII, ISO national sets and Chinese standards, explains Unicode’s unification and its UTF‑8/‑16/‑32 forms, and shows how modern languages—especially JavaScript—handle code points, highlighting the cultural and technical significance for developers.
JavaScriptUTF-16UTF-8
0 likes · 31 min read

The article explains how Java 8 changed the internal representation of String from a char[] to a byte[] to reduce memory consumption, the role of Latin‑1 encoding, the impact on garbage collection, and why UTF‑16 remains the practical choice for Java strings.
JavaStringUTF-16
0 likes · 8 min read
![Why Java 8 Switched String Storage to byte[] and How It Saves Memory](https://wsrv.nl/?url=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FR3InYSAIZkEAkghcVMEgcEZWNxUNA6anXJia8YLw9p0nicqBRCG9qGEDdajDJpFcU0ardU8rBWaCzyDW6PbSiasug%2F0%3Fwx_fmt%3Djpeg)
JDK 18 has been released as a GA short‑term support version with six months of maintenance, introducing nine major JEPs—including UTF‑8 as the default charset, a simple HTTP server, a Vector API incubator, and a Foreign Function & Memory API—while preparing for JDK 19 in September and the next LTS, JDK 21, in 2023.
JDK 18JEPJava
0 likes · 6 min read


21CTOMar 23, 2022 · Fundamentals
Java 18, released by Oracle as a non‑LTS incremental update, introduces a simple web server, enhanced API documentation with syntax‑highlighted code snippets, and switches the default charset to UTF‑8, offering developers faster testing, clearer docs, and consistent encoding across platforms.
API DocumentationJavaJava 18
0 likes · 4 min read

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.
GBKPythonUTF-8
0 likes · 9 min read

This article explains why Chinese characters become garbled on Windows when using Qt or Cocos2d‑x, explores ASCII, GBK, Unicode, UTF‑8 and ANSI encodings, shows how Visual Studio misdetects UTF‑8 files, and provides step‑by‑step solutions to eliminate the issue permanently.
CompilerQtString
0 likes · 13 min read

This article explains MySQL's character encoding workflow, illustrates why queries containing Chinese characters fail without proper settings, and shows how to configure JDBC URLs, server variables, and Docker‑based MySQL instances to ensure lossless UTF‑8 handling.
Database ConfigurationDockerJDBC
0 likes · 9 min read

This article walks through a common Python requests encoding error, explains why it occurs due to mismatched UTF-8 and GBK settings, and provides step‑by‑step instructions—including PyCharm configuration and code snippets—to resolve the issue permanently.
PyCharmPythonUTF-8
0 likes · 4 min read

This article walks through the evolution of character encoding—from the early ASCII standard, through Chinese extensions like GB2312 and GBK, to the universal Unicode system and its UTF‑32, UTF‑16, and UTF‑8 encodings—explaining their structures, usage, and common pitfalls.
GB2312JavaTomcat
0 likes · 12 min read

This article explains how computers store text using binary, introduces ASCII, Unicode and UTF‑8 encoding rules, discusses the limitations of C‑style null‑terminated strings, and describes Redis's Simple Dynamic String (SDS) data structure, its old and new versions, advantages, and related APIs.
C stringsRedisSDS
0 likes · 14 min read

This article explains the history and purpose of Unicode, describes how character sets differ from encodings, details the storage formats of UTF‑8, UTF‑16, and UTF‑32, discusses byte order and BOM, and shows common encoding pitfalls in Redis and MySQL with practical solutions.
MySQLUTF-16UTF-32
0 likes · 15 min read

This article traces the evolution from ASCII to Unicode, explains how Unicode defines universal code points, compares the UTF‑8, UTF‑16 and UTF‑32 encoding schemes, discusses byte order and BOM, and shows practical fixes for common encoding problems in Redis and MySQL.
MySQLRedisUTF-16
0 likes · 15 min read

This article explains why characters appear as garbled text when encoding and decoding methods mismatch, explores how Excel defaults to GBK, shows how to convert files with iconv, and walks through the evolution from ASCII to GB2312, GBK, GB18030, and finally Unicode's UTF‑8 encoding.
GBKUTF-8Unicode
0 likes · 6 min read

This article explains why strings containing emojis report different lengths in JavaScript, covering Unicode fundamentals, code points, UTF‑8 and UTF‑16 encodings, surrogate pairs, grapheme clusters, zero‑width joiners, and modern ES2015‑ESNext features that help handle Unicode correctly.
JavaScriptUTF-16UTF-8
0 likes · 15 min read

This guide explains four practical methods—adjusting Tomcat VM options, setting global and project encodings, customizing IDEA VM options, and editing configuration files—to resolve Chinese character garbling in the IntelliJ IDEA console, with step‑by‑step instructions and screenshots.
Chinese encodingConsole garbled textIDE configuration
0 likes · 4 min read

This article explains why the garbled string “锟斤拷” appears in Chinese software, covering basic character encoding concepts, the Unicode replacement character, UTF‑8 decoding failures, and how GBK’s double‑byte scheme turns the placeholder bytes into the visible characters 锟、斤、拷.
GBKUTF-8Unicode
0 likes · 4 min read


ByteFEFeb 10, 2021 · Frontend Development
This article explains how JavaScript processes Unicode characters, demonstrates the limitations of legacy APIs like charCodeAt and fromCharCode with supplementary characters, and introduces modern methods such as codePointAt, fromCodePoint, Unicode escape syntax, surrogate pairs, and polyfills for full Unicode support.
JavaScriptSurrogate PairUTF-8
0 likes · 10 min read

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.
GBKUTF-8Unicode
0 likes · 4 min read

This article explains PHP's rawurldecode() function for decoding URL‑encoded strings, shows its signature, parameters, return value, provides a simple usage example, notes UTF‑8 considerations, and presents a custom utf8RawUrlDecode() function for handling non‑standard %uXXXX sequences.
BackendPHPURL decoding
0 likes · 3 min read

This article explains Unicode's structure, encoding ranges, UTF-8/16/32 representations, byte order considerations, and provides Java code to detect emojis in strings, illustrating practical usage of Unicode concepts for text processing.
JavaUTF-16UTF-8
0 likes · 14 min read

This article explains the Unicode standard, its code planes and ranges, the three UTF encoding forms (UTF-8, UTF-16, UTF-32), compares their storage characteristics, discusses byte order marks, and provides Java code for detecting emoji characters in strings.
JavaUTF-16UTF-32
0 likes · 11 min read

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.
GBKMySQLUTF-8
0 likes · 10 min read

This article explains the fundamentals of characters, character sets and encodings such as ASCII, GB2312, Unicode, UTF‑8/16/32, BOM, and demonstrates how Java, browsers, Tomcat and MySQL handle encoding conversion, endianness and string length issues with practical code examples.
BOMJavaMySQL
0 likes · 21 min read

This article explains the fundamentals of character encoding, covering concepts such as information, symbols, character sets, various encoding schemes like ASCII, GB2312, UTF‑8, Unicode planes, common pitfalls, and practical examples to help developers avoid garbled text.
GB2312UTF-8Unicode
0 likes · 9 min read

This article explains the fundamentals of character encoding—from Morse‑code analogies and ASCII to Unicode, UTF‑8/UTF‑16/UTF‑32, and Chinese encodings like GB2312, GBK, and GB18030—illustrating how mismatched encodings cause garbled text and how to avoid them.
GBKUTF-8Unicode
0 likes · 10 min read

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.
GBKS3UTF-8
0 likes · 9 min read


21CTOMay 13, 2019 · Databases
Discover why MySQL’s legacy ‘utf8’ charset only supports three‑byte characters, causing storage errors for true UTF‑8 data, and learn how switching to the proper ‘utf8mb4’ charset resolves these issues, with a brief history and practical migration guidance.
MariaDBMySQLUTF-8
0 likes · 7 min read

This article explains the origins of character sets, the relationships among various encodings such as ASCII, GB2312, GBK, GB18030, Unicode, UTF-8, UTF-16, and UTF-32, and shows how JavaScript handles Unicode and emoji characters, including practical code examples and solutions for length‑limited input fields.
UTF-16UTF-8Unicode
0 likes · 11 min read

This article explains Unicode and UTF‑8 concepts, then demonstrates in Python 2 on Windows and Linux how encoding and decoding Chinese strings can cause errors, clarifies why str.encode('utf‑8') may still fail, and offers practical solutions for correct string handling.
Python2UTF-8Unicode
0 likes · 5 min read

This article explains why encoding problems frequently arise with Chinese characters in development, clarifies core concepts such as bytes, characters, ASCII, Unicode and UTF encodings, compares Python 2 and Python 3 handling of strings and bytes, and provides practical best‑practice recommendations to avoid encoding bugs.
PythonPython2UTF-8
0 likes · 12 min read

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.
BackendChinese charactersGBK
0 likes · 4 min read

This article explains the differences between JavaScript's escape, encodeURI and encodeURIComponent functions, the principles of percent‑encoding, the classification of reserved, unreserved and unsafe characters, and provides an overview of ASCII, Unicode and UTF‑8 character encodings.
URL encodingUTF-8Unicode
0 likes · 11 min read

This guide explains why MySQL tables default to latin1, demonstrates how to check and change table, session, and global character set settings, and shows the necessary my.cnf configuration changes to permanently enable UTF‑8 support for storing Chinese characters.
ChineseDatabase ConfigurationMySQL
0 likes · 6 min read

This article investigates an Android JNI native crash caused by misusing NewString(), examines why a custom UTF‑8‑to‑UTF‑16 conversion was used instead of NewStringUTF(), compares Dalvik and ART string encodings, reveals a Dalvik UTF‑8 conversion bug fixed in ART, and advises developers on encoding nuances across Android versions.
ARTAndroidDalvik
0 likes · 26 min read

This article explains the fundamental concepts of characters, character sets, and encodings, compares common encodings such as ASCII, Unicode, and UTF‑8, and shows how Python 2 and Python 3 handle default encodings, string types, and common Unicode errors with practical code examples.
Python2UTF-8Unicode
0 likes · 14 min read


DevOpsJan 7, 2018 · Fundamentals
This article explains why Git on Windows often displays garbled Chinese characters in tools like Git Bash, CMD, PowerShell, and IDEs, and provides step‑by‑step solutions—including Git config changes and environment variable adjustments—to enforce UTF‑8 encoding and eliminate the problem.
GitUTF-8encoding
0 likes · 6 min read

This article introduces the fundamentals of character encoding and decoding, explains the difference between character sets and encodings, and demonstrates practical Node.js examples using the iconv‑lite library to correctly encode and decode Chinese text, helping developers prevent common garbled‑text issues.
GBKNode.jsUTF-8
0 likes · 7 min read

This article explains the differences between JavaScript’s escape, encodeURI, and encodeURIComponent functions, detailing their encoding rules, percent‑encoding standards, reserved and unreserved characters, and how Unicode characters are transformed into UTF‑8 byte sequences, while also covering ASCII, Unicode, and UTF‑8 fundamentals.
JavaScriptURL encodingUTF-8
0 likes · 11 min read


ITPUBJun 21, 2017 · Databases
This article explains the three‑stage encoding and decoding flow when inserting and retrieving data in MySQL, identifies why mismatched character sets cause garbled text, and shows how to ensure consistent charset settings across client, server, and tables.
GBKMySQLUTF-8
0 likes · 5 min read

This article explains the fundamentals of character encoding in Python, covering concepts like ASCII, GB2312/GBK, Unicode, UTF‑8, and the differences between Python 2 and Python 3, while illustrating the encoding lifecycle of a .py file with clear examples and images.
GBKPythonUTF-8
0 likes · 10 min read


ITPUBMar 21, 2017 · Databases
When moving data from Oracle to MySQL, Chinese characters may appear as garbled text because the server uses a latin1 charset; this guide explains three levels of fixes—table, database, and server—by configuring UTF‑8 settings and verifying the changes.
ChineseMySQLOracle
0 likes · 5 min read

This article explains why encodeURIComponent can raise a URI malformed error, clarifies the concepts of high and low surrogate pairs, and provides a comprehensive overview of character sets, Unicode, and the UTF‑8 and UTF‑16 encodings used in JavaScript.
Frontend DevelopmentJavaScriptUTF-16
0 likes · 12 min read


ITPUBSep 19, 2016 · Fundamentals
This article explains the fundamentals of character encoding, covering the evolution from the 7‑bit ASCII standard to Chinese GB2312, the development of Unicode and UTF‑8, and provides practical guidance for handling these encodings in Windows and Linux C programs, including a sample UTF‑8 detection function.
GB2312UTF-8Unicode
0 likes · 13 min read


ITPUBJul 11, 2016 · Backend Development
This guide explains five common scenarios where Chinese characters appear garbled in Java web applications—JSP pages, servlets, POST form submissions, URI parameters, and properties files—and provides step‑by‑step configurations such as setting pageEncoding, response content type, request character encoding, Tomcat URIEncoding, and using native2ascii.
JSPJavaServlet
0 likes · 5 min read


ITPUBApr 19, 2016 · Fundamentals
This article explains the fundamentals of character encoding, covering character sets, encoding rules, and common schemes such as ASCII, Unicode, UTF‑8, GB2312, GBK, and GB18030, helping developers prevent and resolve garbled text issues in web and database applications.
GBKUTF-8Unicode
0 likes · 10 min read

This article explains character sets and encodings, shows why MySQL data can become garbled, and provides step‑by‑step methods—including proper configuration, common pitfalls, and reliable repair techniques—to prevent and correct encoding issues such as emoji storage failures.
GBKMySQLUTF-8
0 likes · 24 min read


21CTOJan 4, 2016 · Fundamentals
This article explains why Chinese characters often appear as garbled text on Windows and Linux, introduces the history and hierarchy of Chinese encoding standards such as GB2312, GBK, GB18030 and Unicode, compares ASCII, UTF‑8/16/32, shows practical command‑line experiments, and offers guidance for handling Chinese text in C and Python programs.
C++GB2312Python
0 likes · 25 min read


21CTOSep 29, 2015 · Fundamentals
This article explains why Chinese characters often appear as mojibake on Windows and Linux, introduces the history and technical details of ASCII, GB2312, GBK, GB18030 and Unicode, and provides concrete examples and command‑line tools for inspecting and converting file encodings.
GB2312UTF-8Unicode
0 likes · 26 min read


21CTOAug 14, 2015 · Fundamentals
This article explains how computers store and display characters using binary, defines character sets and encodings such as ASCII, GB2312, GBK, GB18030, BIG5 and Unicode, compares UTF‑8, UTF‑16, UTF‑32, and describes related HTTP headers like Accept‑Charset, Content‑Type, and Content‑Encoding.
CharsetGB18030HTTP headers
0 likes · 20 min read

This guide walks through locating MySQL's configuration file on Linux, copying a sample cnf, editing it to set default-character-set=utf8 for client and server, restarting MySQL, and verifying the change with SHOW VARIABLES, plus alternative methods via SQL commands and database options.
LinuxMySQLUTF-8
0 likes · 8 min read
