2020-10-30 01:55 PM
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
2020-10-30 02:20 PM
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
2020-10-30 03:11 PM
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.
2021-01-13 06:27 AM
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,