How to include chinese characters in the tokens section of .g file?Does antlr support chinese characters?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   srikanth
Posted On:   Wednesday, June 27, 2012 04:33 AM

I have a raw data file which has chinese content to be processed using .g file of antlr.
Can any one help me how to define grammar rules for supporting chinese characters in .g file of antlr?


srikanth

Re: How to include chinese characters in the tokens section of .g file?Does antlr support chinese characters?

Posted By:   franz  
Posted On:   Thursday, June 28, 2012 09:53 AM


Re: How to include chinese characters in the tokens section of .g file?Does antlr support chinese characters?

Posted By:   franz  
Posted On:   Wednesday, June 27, 2012 02:10 PM

Can't you provide this characters by '\uxxxx' (Unicode notation)?

Regards,
Franz

About | Sitemap | Contact