Fading Coder

One Final Commit for the Last Sprint

Understanding MySQL VARCHAR Length Units: Character-Based Storage Explained

Character vs Byte: The Fundamental Difference A character represents a human-readable symbol—the abstract unit of written language. A Chinese character like '中', an English letter like 'a', and a digit like '1' each count as one character. A byte is the basic unit of digital storage in computers—an...

Encoding Java Strings into GBK Format

Internally, the JVM reprseents String objects using UTF-16 character encoding. When interacting with legacy systems or specific regional formats, such as the GBK standard (an extension of GB2312 that includes Traditional Chinese and other symbols), explicit charset conversion becomes necessary. The...