[antlr-interest] german umlauts - encoding?
fhaupt at informatik.uni-wuerzburg.de
fhaupt at informatik.uni-wuerzburg.de
Mon Dec 18 01:07:29 PST 2006
Hi,
I've run into a little Problem here. Whilst in antlrworks i my grammar works just fine with the german
umlauts ('äüö') in the interpreter window, the compiled java code complains about
....
[mTokens]: line 10:944 1:1: Tokens : ( T7 | T8 | T9 | T10 | T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19
| T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 |
T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | STRING | PUNKTUATION
| NEWLINE ); state 0 (decision=3) no viable alt line 10:944; char='ä'
....
a lot. And the Umlauts are not read. I've already tried to change the encoding of my ANTLRFileStreamreader. but
no success so far.
I suppose i'm missing some trivial point here, but i can't find any clue in the docs about this.
Thanks in advance for any suggestions.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20061218/a728d44f/attachment.bin
More information about the antlr-interest
mailing list