dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13b894
)
Little fix, closing an else
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 4 Jan 2003 20:01:52 +0000
(20:01 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 4 Jan 2003 20:01:52 +0000
(20:01 +0000)
gedcom/multilex.c
patch
|
blob
|
history
diff --git
a/gedcom/multilex.c
b/gedcom/multilex.c
index 420bfcb8b1c88b7a684328313f85055601df6af2..7ff4efe0fb5eccb2651d3e78c8b84db512bfc1ec 100644
(file)
--- a/
gedcom/multilex.c
+++ b/
gedcom/multilex.c
@@
-117,6
+117,10
@@
int determine_encoding(FILE* f)
else if (first[0] == '\xBF') {
gedcom_debug_print(_("UTF-8 encoding, with BOM"));
}
+ else {
+ gedcom_warning(_("Unknown encoding, falling back to one-byte"));
+ rewind_file(f);
+ }
return ONE_BYTE;
}
else {