Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Input and Output / Output Options /

$CharacterEncoding

FilledSmallSquare $CharacterEncoding specifies the default raw character encoding to use for input and output functions.

FilledSmallSquare The default setting for $CharacterEncoding is $SystemCharacterEncoding.

FilledSmallSquare The setting $CharacterEncoding = None takes all special characters to be represented externally by printable ASCII sequences such as \[Name] and \:xxxx.

FilledSmallSquare Examples of other possible settings include:

FilledSmallSquare With $CharacterEncoding = "encoding" characters that are included in the encoding can be input in their raw 8- or 16-bit form, and will be output in this form.

FilledSmallSquare Unencoded characters can be input and will be output in standard \[Name] or \:xxxx form.

FilledSmallSquare When using a text-based interface, resetting the value of $CharacterEncoding has an immediate effect on standard input and output in a Mathematica session.

FilledSmallSquare When using the notebook front end, raw character encodings are normally handled automatically based on the fonts you use. Only raw 16-bit Unicode is ever sent through the MathLink connection to the kernel.

FilledSmallSquare $CharacterEncoding can be set to a list of the form class, , "", , "", ... . The class defines the general form of encoding; the give character codes for specific characters . Possible settings for class include:

FilledSmallSquare $CharacterEncoding affects the input and output of all characters, including those in symbol names and comments.

FilledSmallSquare $CharacterEncoding also affects characters that appear in Text graphics primitives.

FilledSmallSquare See Section 2.8.8.

FilledSmallSquare See also: CharacterEncoding, FromCharacterCode, ToCharacterCode, $SystemCharacterEncoding, $ByteOrdering.

FilledSmallSquare New in Version 3.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.