Read-only archive of the All About Symbian forum (2001–2013) · About this archive

TDesC8 ->TDesC16 conversion

2 replies · 6,952 views · Started 12 October 2004

Beast wrote:You can convert it element by element by converting from a char to an int

See thread


No need for converting individual chars... 😉
Also, it is not guarenteed that something like this will surely work.

The safest way is to use the CnvUtfConverter class.
It has static methods that will do the job for you. (ASCII <=> UTF7 which is 8bit 😉)