Better interface for setup of encoding.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 24 Nov 2001 22:25:38 +0000 (22:25 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 24 Nov 2001 22:25:38 +0000 (22:25 +0000)
gedcom_lohi.lex

index bc8546851b26851c6d2ee1f3aa2e7523187adae2..3b315839ed5db01cf46b2536ebdb23300d94b70c 100644 (file)
@@ -332,7 +332,8 @@ int main()
 {
   int tok, res;
   init_encodings();
-  res = open_conv_to_internal("UNICODE(LOHI)");
+  set_encoding_width(TWO_BYTE_LOHI);
+  res = open_conv_to_internal("UNICODE");
   if (!res) {
     gedcom_error("Unable to open conversion context: %s",
                 strerror(errno));