How do i display a kannada unicode letters into its ASCII value using matlab code
Mostrar comentarios más antiguos
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 comentario
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 2 de Nov. de 2015
1 voto
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 comentarios
Swapna Havalgi
el 2 de Nov. de 2015
Walter Roberson
el 2 de Nov. de 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
el 5 de Nov. de 2015
Walter Roberson
el 5 de Nov. de 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
el 6 de Nov. de 2015
Walter Roberson
el 6 de Nov. de 2015
You will need to upgrade to R2014b or later to display the characters in plots.
Mike Garrity
el 6 de Nov. de 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.
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



