AnsweredAssumed Answered

UTF-8 in Keil

Question asked by salehi.arsalan on Sep 18, 2016
Latest reply on Sep 20, 2016 by salehi.arsalan
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); //€

Outcomes