How do i display a kannada unicode letters into its ASCII value using matlab code
Afficher commentaires plus anciens
I have a kannada unicode letters i want it to convert it in ASCII value and display.How can i do that can anyone suggest any idea or a command to do that?
1 commentaire
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 2 Nov 2015
1 vote
kannada unicode letters are entirely beyond the range of ASCII values. ASCII formally defines only the character positions numbered 0 to 126 (or 127, depending which edition.)
7 commentaires
Swapna Havalgi
le 2 Nov 2015
Walter Roberson
le 2 Nov 2015
>> c = char(3200:3327)
c =
ಀಁಂಃ಄ಅಆಇಈಉಊಋಌಎಏಐಒಓಔಕಖಗಘಙಚಛಜಝಞಟಠಡಢಣತಥದಧನಪಫಬಭಮಯರಱಲಳವಶಷಸಹ಼ಽಾಿೀುೂೃೄೆೇೈೊೋೌ್ೕೖೝೞೠೡೢೣ೦೧೨೩೪೫೬೭೮೯ೱೲೳ
"blobs" in that output reflect the fact that not all code positions have defined characters.
The decimal numbers to use are the same as what are given for the "ALT Codes" shown at http://symbolcodes.tlt.psu.edu/bylanguage/kannadachart.html
Swapna Havalgi
le 5 Nov 2015
Walter Roberson
le 5 Nov 2015
What error message shows? Please show the command and the error message. Also, which operating system are you using and which MATLAB release?
Swapna Havalgi
le 6 Nov 2015
Walter Roberson
le 6 Nov 2015
You will need to upgrade to R2014b or later to display the characters in plots.
Mike Garrity
le 6 Nov 2015
Yes, good point.
Early versions of MATLAB did use ASCII. We've been transitioning the system over to using Unicode. That transition was incremental. As Walter says, almost all of the system was switched over by 14b, but in 9b there were lots of areas which were still using ASCII.
Catégories
En savoir plus sur Simulink Real-Time dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



