Gecko supports the character encodings defined in the Encoding Standard.

In Gecko-internal APIs, it is necessary to use particular (potentially) mixed-case names for the encodings. For encodings that have a compatibility name in the DOM Standard, except gbk, this is the compatibilty name. For other encodings, including gbk, this is the lower-case name from the Encoding Standard.