Use Gedcom_val for the xref in the record start callback too.
[gedcom-parse.git] / gedcom.enc
index b47dc565fde1b977f0f6281ff4c8995ab83f5a43..e8ec5f029416534cae9dbbec15232a5676c7c89e 100644 (file)
@@ -1,11 +1,18 @@
+# $Id$
+# $Name$
+
 # Mapping of charsets for gedcom parsing
 # Each line contains (separated by whitespace):
 #   - the gedcom name
 #   - a token identifying the width of characters and the ordering;
 #     currently supported values: 1, 2_LOHI, 2_HILO
 #   - the iconv name of the charset
-UNICODE                2_LOHI  UTF16LE
-UNICODE                2_HILO  UTF16BE
+
+# First the encodings supported by the GEDCOM standard
+UNICODE                2_LOHI  UNICODELITTLE
+UNICODE                2_HILO  UNICODEBIG
 ASCII          1       ASCII
-ANSI           1       CP1252
 ANSEL          1       ANSEL
+
+# Then some very frequently used non-standard encodings:
+ANSI           1       CP1252