Unicode strings

From: Spacen Jasset (spacenjasset_at_yahoo.co.uk)
Date: 02/25/05


Date: Fri, 25 Feb 2005 14:10:44 +0000

I have a need for Unicode representation in an application,
specifically, UTF16 encoding.

Should I use the stl::wstring classes or perhaps instanciate my own from
basic_string with my own type (tUTF16 say).

I note that wchar_t doesn't actualy have to be able to support any given
encoding and it's implmentation defined. There is no notion of
converting to utf8, or any other format for that matter either.

Is it therefore sensible to write one's own string class?