dose ragle support unicode?

Wang Dong wangdo... at gmail.com
Tue Nov 20 09:43:55 UTC 2007


thanks a lot.

On Nov 20, 4:48 pm, Arne Goedeke <la... at laramies.com> wrote:
> In case you receive usc2/utf16 encoded unicode, i would propose
> decoding that first using whatever the language you are using offers
> and work on widechars when writing your parser in ragel. That
> basically means that you have to specify the alphtype. Your alphtype
> would then be wchar_t or unsigned long.
>
> arne
>
> On Nov 20, 9:33 am, Wang Dong <wangdo... at gmail.com> wrote:
>
> > yes, widechars
>
> > On Nov 20, 4:31 pm, Wang Dong <wangdo... at gmail.com> wrote:
>
> > > i mean ucs2.
>
> > > On Nov 20, 3:24 pm, Arne Goedeke <la... at laramies.com> wrote:
>
> > > > What do you mean by unicode support? In case you have decoded from
> > > > utf8 (or some other encoding) already you probably want to work on
> > > > widechars (which should work).
>
> > > > arne
>
> > > > On Nov 20, 7:40 am, Wang Dong <wangdo... at gmail.com> wrote:
>
> > > > > i want to parse some html files, was unicode supported by ragel? where



More information about the ragel-users mailing list