Skip to main content
GMeur
Associate III
March 6, 2025
Solved

utf16 file encoding in CUBEIDE

  • March 6, 2025
  • 1 reply
  • 490 views

Hi,

I have a c++ file with a table of utf16 c style strings encoded as utf16. I need this file to be encoded as utf16 for the compiler to understand correctly the 'special' characters. In IAR, it was super easy as the compiler could read both utf8 and utf16 files.

It seems however that cubeIDE only handles utf8 encoding. Is that true? Is there a work around? Moving my table from utf16 to utf8 would really annoy me…

Thanks in advance

 

 

Best answer by Peter BENSCH

Please have a look at this thread, maybe you will find a suitable code page.

Good luck!
/Peter

1 reply

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
March 6, 2025

Please have a look at this thread, maybe you will find a suitable code page.

Good luck!
/Peter