* lex.c (java_new_lexer): Longer error message.

From-SVN: r39520
This commit is contained in:
Tom Tromey 2001-02-07 17:50:30 +00:00 committed by Tom Tromey
parent 6cd87539f2
commit 77aff9f9c7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-02-06 Tom Tromey <tromey@redhat.com>
* lex.c (java_new_lexer): Longer error message.
2001-02-05 Jeff Sturm <jeff.sturm@commerceone.com>
Alexandre Petit-Bianco <apbianco@cygnus.com>

View File

@ -293,7 +293,7 @@ java_new_lexer (finput, encoding)
}
if (enc_error)
fatal_error ("unknown encoding: `%s'", encoding);
fatal_error ("unknown encoding: `%s'\nThis might mean that your locale's encoding is not supported\nby your system's iconv(3) implementation. If you aren't trying\nto use a particular encoding for your input file, try the\n`--encoding=UTF-8' option.", encoding);
return lex;
}