korean characters error in matlab 2016a for mac

4 views (last 30 days)
now I'm using OSX 10.11.5 el capitan.
I can not execute m files in korean character folder. it pop up error message.
korean folder name is "공개" but as you can see, that is "ㄱㅗㅇㄱㅐ".
and error message says "can not find m-file in current folder."
how do i solve this problem???

Answers (1)

Walter Roberson
Walter Roberson on 6 Jul 2016
OS-X has some weird internal rules about Unicode. The Unicode file name that is input is always "normalized" to create the name that will be used in the file system. See https://en.wikipedia.org/wiki/Unicode_equivalence . I do not recall at the moment whether OS-X uses "fully composed" or "fully decomposed". Ah, checking I see it needs the decomposed form; see http://apple.stackexchange.com/questions/83935/unicode-normalization-for-filenames-and-copied-text-from-pdfs
Needless to say, there is the potential for problems when this occurs.

Products

Community Treasure Hunt

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

Start Hunting!