diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-07 17:50:30 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-07 17:50:30 +0000 |
commit | 94dc99fc60c4caf881ecd440845d218eef5f7da3 (patch) | |
tree | 489724abc08fcab39c4a428d309e35261e45281d /gcc/java/lex.c | |
parent | b25a2bca64005e2439fc27e2aff218000eb079b1 (diff) | |
download | ppe42-gcc-94dc99fc60c4caf881ecd440845d218eef5f7da3.tar.gz ppe42-gcc-94dc99fc60c4caf881ecd440845d218eef5f7da3.zip |
* lex.c (java_new_lexer): Longer error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index 06eb35d7937..20e37d8183e 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -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; } |