How to display GB2312 encoded characters in matlab
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!