| getAvailableCharsets |
([String name]) |
yoix.io |
| |
With no argument or a
NULL
name
value, an
Array
listing the supported character encodings is returned.
When
name
is given, an
Array
of aliases for the supplied character encoding is returned.
If the supplied
name
is not recognized, a
NULL
array is returned.
| |
| Example: |
The program,
import yoix.io.*;
import yoix.stdio.*;
printf("%O\n", getAvailableCharsets("iso-8859-1"));
prints a quick dump of all the recognized aliases for the ISO-8859-1 character encoding.
An example of the output follows.
Array[15:0]
>^"ISO-8859-1"
^"iso-ir-100"
^"8859_1"
^"ISO_8859-1"
^"ISO8859_1"
^"819"
^"csISOLatin1"
^"IBM-819"
^"ISO_8859-1:1987"
^"latin1"
^"cp819"
^"ISO8859-1"
^"IBM819"
^"ISO_8859_1"
^"l1"
| | |
| Return: |
Dictionary
| | |
| See Also: |
getProperty,
loadINI,
readINI
|
|
Yoix is a registered trademark of AT&T Inc.
|