From: Peter Verthez Date: Sat, 4 Jan 2003 20:01:52 +0000 (+0000) Subject: Little fix, closing an else X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=dab74f78766b0878cbb85d07712588a2e3c16d3c;p=gedcom-parse.git Little fix, closing an else --- diff --git a/gedcom/multilex.c b/gedcom/multilex.c index 420bfcb..7ff4efe 100644 --- 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 {