[antlr-interest] Unicode Support
srinivasan.subramanian at tcs.com
srinivasan.subramanian at tcs.com
Fri Aug 4 05:22:36 PDT 2006
Dear Martin,
I am using Antlr 2.7.1 and Java. I want Antlr to accept
the japanese characters. I am not validating them. Pls tell me what i shud
do.
Srinivasan Subramanian
Assistant Systems Engineer
Tata Consultancy Services Limited
Mailto: srinivasan.subramanian at tcs.com
Website: http://www.tcs.com
Martin Probst <mail at martin-probst.com>
08/04/2006 03:49 PM
To
srinivasan.subramanian at tcs.com
cc
antlr-interest at antlr.org
Subject
Re: [antlr-interest] Unicode Support
Hi,
there is a Unicode example in the C++ directory, as far as I know. If
you need help, it might be beneficial to tell the list what version
of ANTLR your using, if your using C++ and what do you exactly mean
by "recognizing" unicode characters? Accepting them, or checking if
the input is valid e.g. UTF-8 or UTF-16?
Martin
Am 04.08.2006 um 12:08 schrieb srinivasan.subramanian at tcs.com:
>
> Hi,
>
> Can anyone please tell me How to make antlr recognize unicode
> characters (for eg.Japanese characters) in Lexer in ANTLR?
> Any direction in this regard will be of great help.
>
> Regards,
> Srinivasan Subramanian
> Assistant Systems Engineer
> Tata Consultancy Services Limited
> Mailto: srinivasan.subramanian at tcs.com
> Website: http://www.tcs.com=====-----=====-----===== Notice: The
> information contained in this e-mail message and/or attachments to
> it may contain confidential or privileged information. If you are
> not the intended recipient, any dissemination, use, review,
> distribution, printing or copying of the information contained in
> this e-mail message and/or attachments to it are strictly
> prohibited. If you have received this communication in error,
> please notify us by reply e-mail or telephone and immediately and
> permanently delete the message and any attachments. Thank you
ForwardSourceID:NT00036B4E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060804/884b0c68/attachment.html
More information about the antlr-interest
mailing list