Re: Encoding
Joel de Guzman <[email protected]> Sat, 12 Dec 2009 10:39:00 +0800
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
OvermindDL1 wrote: > You know how I suggested something like this for character encoding? > > parse<standard_wide>(...); > parse<utf8>(...); > parse<ascii>(...); > etc... > > Re-thinking it, what about just treating it like space, rule > definition could be like: > rule<Iterator,int(),encoding,space> // the int(), encoding, and space > parts being in any order of course, the encoding can be figured out by > a tag That's the idea I posted here: "Re: [lex] making lexer generic for char / wchar_t" Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net http://www.facebook.com/djowel Meet me at BoostCon http://www.boostcon.com/home http://www.facebook.com/boostcon ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev