Re: unicode character in flex
Hans Aberg <[email protected]> Tue, 29 Sep 2009 10:08:45 +0200
| Newsgroups | gmane.comp.lex.flex.general |
|---|---|
| Message-ID | <[email protected]> |
On 29 Sep 2009, at 03:41, Mahalingam Arumugam wrote: > I can input tamil characters like "\u0b85\u0b86" in coding , =20 > but how to accept this chars in STDIN mode. Just put them in an UTF-8 .l file as ordinary characters as when you =20 read them in a UTF-8 editor, like "A", "=E0=AE=85", etc. Flex in 8-bit = mode =20 will treat that as just a byte sequences, which is what will be =20 detected in the lexer input, that is what you wrote. Hans