As stated in r39928, conversion on the fly only works for docstrings

and not for utf8 ones. But the simple solution is to convert to a
docstring before outputting to the underlying docstream.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39930 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-10-23 03:04:09 +00:00
parent bbca759363
commit 7fec736162

View File

@ -559,7 +559,7 @@ otexstream & operator<<(otexstream & ots, char const * s)
char const * s2 = s + i + 4;
while (true) {
if (!s1.empty())
ots.os() << s1;
ots.os() << from_utf8(s1);
if (s2[0] == '\0')
break;
i = findToken(s2, end_token);