From ddc3f9bae410f154d60b478b36ef4128b58c565c Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 24 Nov 2001 22:25:38 +0000 Subject: [PATCH] Better interface for setup of encoding. --- gedcom_lohi.lex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.30.2