
23 Aug
2004
23 Aug
'04
4:59 p.m.
Carlo Wood wrote:
On Mon, Aug 23, 2004 at 09:47:52AM -0500, Patrick Bennett wrote:
UTF-8 strings don't contain embedded nul's (std::string still works for that though), ASCII characters remains ASCII characters, and you can tell if you're in the middle of a multi-byte sequence.
Ah - I retract my objection ;). If UTF-8 is garanteed not to have nul's embedded then there is no reason not to use std::string for it imho.
Exactly! ;) At least that's how *I* feel about it. Cheers... Patrick Bennett