Preskočite na glavni sadržaj
Login
State Geodetic Administration logo National Spatial Data Infrastructure logo

Character Encoding

Name Character Encoding
Definition Character encoding used in the data set.
Obligation
  • dataset or dataset series: conditional; mandatory if non-UTF-8-based coding is used
  • service: not applicable
Multiplicity [0..*]
Example
8859part1
Character encoding must be documented if non-UTF-8-based encoding is used in the dataset or dataset series. If more than one different character encoding is used in a dataset or dataset series, all, including UTF-8 encoding, must be specified.

Technical data
 
INSPIRE equivalent Character Encoding
Comparison with INSPIRE equivalent
ISO equivalent [40] characterSet
Comparison with ISO equivalent
XPath identificationInfo[1]/*/characterSet
Data type MD_CharacterSetCode
Domain MD_CharacterSetCode<<CodeList>>
Implementation instructions Character encoding is documented using the gmd:characterSet/gmd:MD_CharacterSetCode element by writing one of the ISO 19139 values ​​of the MD_CharacterSetCode code list.  If more than one different character encoding is used in a dataset or dataset series, all, including UTF-8 encoding, must be specified.

Encoding example: Documenting the character encodings used in the data set
 
<gmd:MD_Metadata...
...
     <gmd:identificationInfo>
         <gmd:MD_DataIdentification>
...
             <gmd:characterSet>
                 <gmd:MD_CharacterSetCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8">utf8</gmd:MD_CharacterSetCode>
             </gmd:characterSet>
             <gmd:characterSet>
                 <gmd:MD_CharacterSetCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="8859part1">8859part1</gmd:MD_CharacterSetCode>
             </gmd:characterSet>
...         
         </gmd:MD_DataIdentification>
     </gmd:identificationInfo>
...
</gmd:MD_Metadata>