Home > Class Reference > %SYS namespace > %Net.Charset

%Net.Charset

class %Net.Charset

Class to represent MIME charsets within InterSystems IRIS and map these charsets to InterSystems IRIS locales.

Methods

classmethod GetDefaultCharset() as %String [ Language = objectscript ]
Return default charset for the current locale.
classmethod GetTranslateTable(ByRef charset As %String) as %String [ Language = objectscript ]
Return the translate table name for the input charset name.
classmethod IsLocaleUnicode() as %Integer [ Language = objectscript ]
classmethod TranslateTableExists(charset As %String, Output table) as %Boolean [ Language = objectscript ]
Test if the translate table name for the input charset name is loaded.