How to display GB2312 encoded characters in matlab
3 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have the GB2312 codes of characters, but I would like to give a code to MATLAB and have it decode (and display) it. In python, an example of an encoded character is b'\xd2\xba'. Python can decode this and display the correpsonding simplified chinese character. How can I give matlab the encoding b'\xd2\xba' and have it display the character? So far I changed the encoding via the command slCharacterEncoding('GB2312'), and I then wrote label="\0xd2\0xba" disp(label) but I don't get anything different.
thanks
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!