Encodings of Unicode Character 'JUPITER' (U+2643)

2 vues (au cours des 30 derniers jours)
Karna Desai
Karna Desai le 6 Avr 2017
Commenté : Karna Desai le 6 Avr 2017
I am trying to encode a symbol for the planet Jupiter, but it's not working. here is the 4 digit number for jupiter = 2643. the code works for other symbols but not for Jupiter. Example code that works for other symbols: var1 = ['M_',char(8364)];

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Avr 2017
char(hex2dec('2643'))
Unicode U+ format is followed by hex digits, not by decimal digits.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by