If your interest is in speed alone, then adding UTF_16 might offer options as well: FORMAT (enc_flags): 7|6|5|4|3|2|1|0 x x 0 0 1 x x x = UTF_8 x x 0 1 0 x x x = UTF_16 x x 1 0 0 x x x = UTF_32 then: #define UTF 56 utf_encoding = UTF & enc_flags; if( utf_encoding ) { cout << "String is UTF_" << utf_encoding << "\n"; } (excuse any code errors, I haven't CPLUSPLUSed in awhile) Grant M.
- PDD 4: Internal data types Dan Sugalski
- Questions about PDD 4: Internal data types Hong Zhang
- Re: Questions about PDD 4: Internal data types Dan Sugalski
- Re: Questions about PDD 4: Internal data ty... Andy Dougherty
- RE: Questions about PDD 4: Internal data ty... wiz
- RE: Questions about PDD 4: Internal dat... Dan Sugalski
- Re: Questions about PDD 4: Interna... Nicholas Clark
- Re: Questions about PDD 4: Int... Dan Sugalski
- Re: Questions about PDD 4: Interna... NeonEdge
- Re: Questions about PDD 4: Int... Hong Zhang
- Re: Questions about PDD 4:... Dan Sugalski
- Re: PDD 4: Internal data types Andy Dougherty
- Re: PDD 4: Internal data types Dan Sugalski
- Re: PDD 4: Internal data types Nicholas Clark
- Re: PDD 4: Internal data types Dan Sugalski
- Re: PDD 4: Internal data types Hong Zhang
- Re: PDD 4: Internal data types Jarkko Hietaniemi
- Re: PDD 4: Internal data t... Dan Sugalski
- Re: PDD 4: Internal data t... Hong Zhang