cancel
Showing results for 
Search instead for 
Did you mean: 

How to use GDK encoding to convert unicode encoding

lshuh.1
Associate II

I know i can use cc936.c of FATFS, but I think this is not a good method, because it will take up more memory and will be very slow in efficiency.

I would like to ask if touchGFX has a built-in method to directly convert GDK encoding to Unicode encoding. I want to print Chinese.

for example:

     touchgfx_printf("0x%x",'我');

Output:

    0xCED2

"0xCED2" is the GDK code

I want to convert it to unicode encoding Unicode: 0x6211

Is there a quick way to convert?

0 REPLIES 0