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

2 ビュー (過去 30 日間)
Karna Desai
Karna Desai 2017 年 4 月 6 日
コメント済み: Karna Desai 2017 年 4 月 6 日
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)];

採用された回答

Walter Roberson
Walter Roberson 2017 年 4 月 6 日
char(hex2dec('2643'))
Unicode U+ format is followed by hex digits, not by decimal digits.
  1 件のコメント
Karna Desai
Karna Desai 2017 年 4 月 6 日
thanks a lot! works great.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by