Skip to content

Make sure that the charcode is signless

Liu Linsong requested to merge (removed):gtk-3-24 into gtk-3-24
  1. The data with type of char is signed by default.

  2. The byte value of UTF-8 is signless by default.

  3. So, if a UTF-8 charcode is stored in a char array, we should cast the type of its value from char to unsigned char.

Closes #5852 (closed) Fixes #5852 (closed)

Edited by Liu Linsong

Merge request reports