Pavel Sanda wrote:
please do we have somewhere documented where should be used
lyx::docstring (vs std::string) ?
Simple: Use string whenever you want 7-bit ASCII only and docstring
anywhere else.
which means that e.g. members in PDFOptions class - like std::string
author;
are wrong ?
exactly :-)
In practice, this does not have a big impact because these fields are read
as utf8 and stays encoded like that in the std::string. But it is safer to
use a docstring because they might get manipulated elsewhere. The problem
maybe greater if the author is not coming from the latin world though...
i see we use in guicompleter from_utf8(fromqstr(...)).
That should be fixed to use:
has qstring_to_ucs4 some drawbacks?
No.
Abdel.