Hi, On Thursday, 2009-02-26 12:39:47 +0100, Eike Rathke wrote:
> For UNICHAR() a conversion from Unicode point to UTF-16 is needed, for
> this use the OUString ctor
>
> OUString( const sal_Char * value, sal_Int32 length, rtl_TextEncoding
> encoding,
> sal_uInt32 convertFlags = OSTRING_TO_OUSTRING_CVTFLAGS );
Oops, sorry, this is nonsense. Instead, use
OUString( sal_uInt32 const * codePoints, sal_Int32 codePointCount );
with a codePointCount of 1.
Thanks
Eike
--
OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't send personal mail to the [email protected] account, which I use for
mailing lists only and don't read from outside Sun. Use [email protected] Thanks.
pgpYTpNGjSWmr.pgp
Description: PGP signature
