From: Peter Verthez Date: Sat, 24 Nov 2001 22:25:38 +0000 (+0000) Subject: Better interface for setup of encoding. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=ddc3f9bae410f154d60b478b36ef4128b58c565c;p=gedcom-parse.git Better interface for setup of encoding. --- 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));