dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change encoding on HEAD.CHAR tag.
[gedcom-parse.git]
/
gedcom_lohi.lex
diff --git
a/gedcom_lohi.lex
b/gedcom_lohi.lex
index bc8546851b26851c6d2ee1f3aa2e7523187adae2..3b315839ed5db01cf46b2536ebdb23300d94b70c 100644
(file)
--- 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));