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

About _L8("")?

1 replies · 2,571 views · Started 02 January 2003

Hi! I can do the following:

TBuf8<1024> Buf;
Buf.Append(_L8(" "😉);
Buf[0] = (TUint8) 0x01;
Buf[1] = (TUint8) 0xa2;
Buf[2] = (TUint8) 0xff;

but is possible to do this some other way?
I would like to add these "characters" in a constant variable like:

const TDesC8 KMyConst = _L8("TEXT"😉;
...
Buf.Copy(KMyConst);

How can I do it? Thanks.

-Marw