Question
UTF-8 in Keil
Posted on September 18, 2016 at 20:23
Hello Friends,
can anybody tell me how can we print utf-8 in keil uvision? i changed the editor encoding to utf-8 without signature. i tried this codes with no success:#pragma import(__use_utf8_ctype)
wprintf(L
''This is € Sing''
);
wchar_t
ws[]=L
''€''
;
printf
(
''This is %ls sign''
,ws);
putwchar(0x20ac);
//€
#keil-arm-uvision-printf-utf-8