No need for the more expensive to_utf8() here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39821 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-10-08 22:21:01 +00:00
parent 33c5f6d628
commit 6c85f8338f

View File

@ -496,7 +496,7 @@ otexstream & operator<<(otexstream & ots, docstring const & s)
if (!contains(s2, 0xF0001))
s2 = split(enc, s1, 0xF0000);
else {
ots.os() << setEncoding(to_utf8(enc));
ots.os() << setEncoding(to_ascii(enc));
s2 = split(s3, s1, 0xF0000);
}
}