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

3 Ansichten (letzte 30 Tage)
Karna Desai
Karna Desai am 6 Apr. 2017
Kommentiert: Karna Desai am 6 Apr. 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)];

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by