cancel
Showing results for 
Search instead for 
Did you mean: 

How I can change glodal encoding?

KMiha.1
Associate

Hello,

I have changed Preferences->General->Workspace->Text file encoding to Default (windows-1251).

After clicking 'Apply and Close' IDE striongly restores this property to UTF-8.

I have to use windows-1251 encoding in my project.

Nevertheless I see 'À�?Â...' instead of '�?БВ...' in SWV ITM Data Console, Watch window and anywhere else in IDEs windows during debuging.

Regards,

Mike

3 REPLIES 3
TDK
Guru

STM32CubeIDE is based on Eclipse, so you can find a lot of answers by using Eclipse as a search keyword instead.

Some answers here:

https://stackoverflow.com/questions/21262519/change-encoding-in-eclipse

If you feel a post has answered your question, please click "Accept as Solution".
KMiha.1
Associate

I know how change encoding in Eclipse. I haven't problem with Eclipse.

The problem is that STM32CobeIDE doesn't save settings changes, rewriting it to UTF-8.

Lecordier.Guy
Associate III

Hi,

 I have the same problem.

I am moving from System Workbench to STM32CubeIDE 1.5.1

My code files are written using the CP1252 encoding.

 [Restore Defaults] restore temporally in CP1252.

 But [Apply and Close] doesn't save correctly

 Changing in ISO-8859-1 seems saving correctly.

 Regards,