Why does my program use mxGetString fail to work when executed using Operating systems in Japanese, Korean or Chinese languages ?

1 view (last 30 days)
I have a program that makes use of the mxGetString API. The program succeeds normally. But fails to work when used in operating systems that use the following languages:
Japanese
Chinese
Korean

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 13 Feb 2012
The Japanese, Korean and Chinese languages make use of multibyte character encoding. The function 'mxGetString' do not handle multibyte encodings.
The 'mxArrayToString' function can be used instead for strings that make use of multibyte encoding.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!