发布日期: 09/18/2023

Unicode Characters

JMP supports both Unicode UTF-8 and UTF-16 standards for encoding and representing text for most of the world languages. See the The Unicode Consortium for code charts and more information on the Unicode standard.

To display Unicode characters in JMP, precede the Unicode code for the character with ’\!’. For example:

Greek letter sigma (σ) in Unicode = U+03C3; in JMP, use \!U03C3

Greek letter mu (μ) in Unicode = U+03BC; in JMP, use \!U03BC

To use Unicode to express superscripts and subscripts:

subscript 1 (1) in Unicode = U+2081; in JMP, use \!U2081

superscript 2 (2) in Unicode = U+00B2; in JMP, use \!U00B2

To express x2 in Unicode, in JMP, use \!U0078\!U00B2.

To use Unicode surrogate pairs, specify the Unicode escape sequence twice. If you specify an emoji Unicode character, you might need to change the font for it to appear correctly. The following example shows how to include an emoji in a text box.

New Window( "Emoji Example",
	V List Box(
		Text Box( "Surrogate Pair with space: \!UD83D \!UDE00", Set Font( "Segoe UI Emoji" ) ),
		Text Box( "Surrogate Pair without space: \!UD83D\!UDE00", Set Font( "Segoe UI Emoji" ) )
	)
);
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).