Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 15.06.2015 15:21, Michel Renon wrote:
Hi,

Here is the next step of QtCreator integration : debugging of OUString
(and internal type rtl_uString)

http://imgur.com/ZrvIZ2V,2G52CwW,2r2wVSP

1 : default view for OUString variable : just address and length
2 : new view : you have the string (here with some specific french 
characters and 'euro' symbol)
3 : new view : you can have internals of OUString

i don't quite understand - why not just display the content of the
string by default using the python pretty printers in solenv/gdb, like
Eclipse CDT and KDevelop do?

And a noob question :
how to define an unicode string in c++ ?
I wrote :
rtl:OUString sTest = "éèà€";
or
rtl:OUString sTest("éèà€");

the constructors from string literals require ASCII encoding.

there is another constructor where you can give explicit text encoding
so you can pass RTL_TEXTENCODING_UTF8.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.