On this topic:
NOTE: This information is referenced from UN/EDIFACT and may not be current. For the latest information please visit the UN/EDIFACT web site.
Coded identification of the agency controlling the syntax, and of the character repertoire used in an interchange.
The data value consists of the letters ’UN’, upper case, identifying the syntax controlling agency, directly followed by an a2 code identifying the character repertoire used.