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

3 visualizaciones (últimos 30 días)
Karna Desai
Karna Desai el 6 de Abr. de 2017
Comentada: Karna Desai el 6 de Abr. de 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)];

Respuesta aceptada

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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by