Help Center/ GaussDB/ Developer Guide(Centralized_V2.0-8.x)/ FAQ/ How many bytes does a Chinese character occupy in GaussDB?
Updated on 2025-05-29 GMT+08:00

How many bytes does a Chinese character occupy in GaussDB?

Answer: It depends on the encoding mode for character sets of the database.

  • For the GBK character set, a Chinese character occupies two bytes.
  • For the UTF8 character set, a Chinese character occupies three bytes.