There are typos in the xim spec documentation?
There seems to be typos in the xim spec documentation.
XIM_ENCODING_NEGOTIATION (IM library -> IM Server).sp 6p 2 CARD16 input-method-ID 2 n byte length of encodings listed by name n LISTofSTR list of encodings supported in the IM library. p unused, p = Pad(n) 2 m byte length of encodings listed by detailed data 2 unused m LISTofENCODINGINFO list of encordings supported in the IM library
The IM Server must choose one encoding from the list sent by the IM library. If index of the encording determined is -1 to indicate that the negotiation is failed, the fallback default encoding is used. The message must be issued after sending XIM_OPEN message via XOpenIM(). The name of encoding may be registered with X Consortium.
Below is a screenshot.