getNativeEncoding
Native String Encoding

Description

Get the name of the native string encoding used by this engine.

Usage

getNativeEncoding()

Details

In open-source R, the "unknown" string encoding used by Encoding is assumed to represent strings with an encoding that is "native" to the sysem where the engine is running.
In Spotfire Enterprise Runtime for R, the "unknown" string encoding used for most strings is defined to uses the "UTF-8" character set, regardless of the "native" encoding for the system where the engine is running. getConsoleEncoding may return a different encoding, used when reading and writing text.
Value
a character string specifying the string encoding used as the "native" or "unknown" encoding for this engine. In Spotfire Enterprise Runtime for R, this always returns "UTF-8".
See Also
Encoding, getConsoleEncoding.
Examples
getNativeEncoding()
Package terrUtils version 6.1.4-13
Package Index