Skip to main content
GMeur
Associate III
Mar 6, 2025 10:28 AM UTC
Solved

utf16 file encoding in CUBEIDE

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

 

 

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Mar 6, 2025 12:21 PM UTC

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

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Mar 6, 2025 12:21 PM UTC

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

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.