Kaydet (Commit) 809c8d4c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Spell out UTF-8

Change-Id: Iea5f79fb12ac86d4348f46f8ad93a13aaf0f7eb6
üst 18c786cb
...@@ -320,7 +320,7 @@ DECLARE_RTFEXPORT_TEST(testMathRuns, "math-runs.rtf") ...@@ -320,7 +320,7 @@ DECLARE_RTFEXPORT_TEST(testMathRuns, "math-runs.rtf")
DECLARE_RTFEXPORT_TEST(testFdo77979, "fdo77979.odt") DECLARE_RTFEXPORT_TEST(testFdo77979, "fdo77979.odt")
{ {
// font name is encoded with \fcharset of font // font name is encoded with \fcharset of font
CPPUNIT_ASSERT_EQUAL(OUString("微软雅黑", 12, RTL_TEXTENCODING_UTF8), CPPUNIT_ASSERT_EQUAL(OUString("\xE5\xBE\xAE\xE8\xBD\xAF\xE9\x9B\x85\xE9\xBB\x91", 12, RTL_TEXTENCODING_UTF8),
getProperty<OUString>(getRun(getParagraph(1), 1), "CharFontName")); getProperty<OUString>(getRun(getParagraph(1), 1), "CharFontName"));
} }
......
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