MATLAB Answers

How to save the codes in GBK encoding by default in R2020b?

6 views (last 30 days)
Albert Bing
Albert Bing on 9 Jan 2021
I wrote some codes in R2020b. Turns out they are all UTF-8 encoding.
UTF-8 is good, but I need to run my codes in older verson in which the UTF-8 characters are not right. I have to save the codes in GBK encoding one by one.
Is it possible to save to GBK encoding by default? I mean the code is saved in GBK encoding whenever you press Ctrl+S or click the save button.
I tried to modify the lcdata.xml file, but it seemed not work in R2020b version

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!