- MATLAB GUIs and plots will not display any character beyond unicode code point 255, other than what can be invoked using tex of latex
- MATLAB strings cannot properly display any character beyond unicode code point 65535
- you can probably get further by accessing the Java level and using Java to output the strings
I have a microsoft access database which contains columns in Punjabi Language (It is an Indian Language). I am able to read database but columns containing Punjabi language words are displayed as "?????" . Anybody know how to read data correctly ?
1 回表示 (過去 30 日間)
古いコメントを表示
This is a snapshot of the problem

0 件のコメント
回答 (1 件)
Walter Roberson
2015 年 5 月 5 日
It is possible that the situation has changed with hg2 (Handle Graphics 2) as of R2014b. In versions before that (at least):
The above has to do with what MATLAB will display under the assumption that MATLAB is given the right data in the way that it wants.
If data is coming from an external source or a file, then the data might be received in one of the UTF representations and might need to be converted to MATLAB char() in order for MATLAB to have a hope of displaying it properly. In such cases you may need to use native2unicode() to convert from the UTF representation into char .
This assumes that the mechanism that is fetching the characters from the external source is not mangling them. I cannot test with MS Access, but I suspect that your interface to it is what is converting the unrepresentable characters to '?' characters. If you show your code for fetching the data from MS Access it might be possible to find a flag to receive the raw bytes. (Which, in this case, you still would not be able to display properly, but at least you would be able to write them to a file for display in outside programs.)
1 件のコメント
参考
カテゴリ
Help Center および File Exchange で Database Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!