X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom_lohi.lex;h=3b315839ed5db01cf46b2536ebdb23300d94b70c;hb=3758c746e01a451ce88cfe398f19747951e71bac;hp=bc8546851b26851c6d2ee1f3aa2e7523187adae2;hpb=845f7ac49d5e63b96aca7a4cd1f60ac5e3230033;p=gedcom-parse.git diff --git a/gedcom_lohi.lex b/gedcom_lohi.lex index bc85468..3b31583 100644 --- a/gedcom_lohi.lex +++ b/gedcom_lohi.lex @@ -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));