help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unicode character in flex


From: Hans Aberg
Subject: Re: unicode character in flex
Date: Tue, 29 Sep 2009 10:08:45 +0200

On 29 Sep 2009, at 03:41, Mahalingam Arumugam wrote:

I can input tamil characters like "\u0b85\u0b86" in coding , but how to accept this chars in STDIN mode.

Just put them in an UTF-8 .l file as ordinary characters as when you read them in a UTF-8 editor, like "A", "அ", etc. Flex in 8-bit mode will treat that as just a byte sequences, which is what will be detected in the lexer input, that is what you wrote.

  Hans






reply via email to

[Prev in Thread] Current Thread [Next in Thread]