Help Center/ GaussDB/ Distributed_8.x/ FAQs/ How many bytes does a Chinese character occupy in GaussDB?
Updated on 2024-06-03 GMT+08:00

How many bytes does a Chinese character occupy in GaussDB?

Answer: It depends on the character set encoding 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.