Kaydet (Commit) 734cadff authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: plain-text import allows liberal with the UTF-8 input

see ImplConvertUtf8ToUnicode which allows surrogates, so we need a non-liberal
utf-input there if we want to enfore non-liberal utf-output here.

Change-Id: I713818d7b6d79922d9b08f2b137a803384eccb65
üst 74063b25
...@@ -94,7 +94,7 @@ namespace sax_fastparser { ...@@ -94,7 +94,7 @@ namespace sax_fastparser {
void FastSaxSerializer::write( const OUString& sOutput, bool bEscape ) void FastSaxSerializer::write( const OUString& sOutput, bool bEscape )
{ {
write( sOutput.toUtf8(), bEscape ); write( OUStringToOString(sOutput, RTL_TEXTENCODING_UTF8), bEscape );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment