Listing Encoding Name Aliases
The RWUEncodingAliasList class constructs RWUEncodingAliasListIterator instances that provide access to the list of aliases associated with a given encoding. The list cannot be changed at run time.
The methods begin() and end() return RWUEncodingAliasListIterator instances. For example, this code constructs a list of aliases for US-ASCII, then iterates over the list of aliases and writes them to std::cout:
 
RWUEncodingAliasList list("US-ASCII");
RWUEncodingAliasListIterator iter;
for (iter = list.begin(); iter != list.end(); ++iter) {
std::cout << *iter << std::endl;
}
The results are something like this:
 
US-ASCII
ascii
ascii-7
ANSI_X3.4-1968
ANSI_X3.4-1986
ISO_646.irv:1991
iso646-us
us
csASCII
646
iso-ir-6
cp367