Home > other >  For help on MATLAB 2020 b the development environment and runtime environment for utf-8 encoding con
For help on MATLAB 2020 b the development environment and runtime environment for utf-8 encoding con

Time:04-28

Always start with the default system requirements: MATLAB coding way, now want to set to use utf-8 encoding,

All the methods are tested, basic online doesn't work, including the following:

1, add a startup. J m, write statement to set the default encoding,

SlCharacterEncoding (" utf-8 ");
Feature (" DefaultCharacterSet ", "utf-8");

(this method to the startup. In the m can solve the problem of the development environment of coding, but cannot solve the runtime environment, thought to be compiled into exe running)

2, modified coding region of the operating system Settings, check the [beta: use the global language support Unicode utf-8] options, this method can be solved, but many computers have no this setting, customer can't let customer reinstall system,

3, by editing lcdata. XML to configure, this file is in the development environment and runtime environment all have, but look up a lot of online configuration method doesn't work, personal feel now also only in this way to configure,


Which higher-ups have studied, please feel free to comment, thank you very much!!!!!!
  • Related