no ascii >127 chars in string literals
Change-Id: Icf7fadc27823b0cd32795f3ab685602f9ad6c99c
This commit is contained in:
@@ -149,7 +149,7 @@ namespace Stringtest
|
||||
showContent(suStr_UriDecodeToIuri);
|
||||
|
||||
// string --> ustring
|
||||
rtl::OString sStr("h\xE4llo");
|
||||
rtl::OString sStr("h\xE4llo", strlen("h\xE4llo"));
|
||||
rtl::OUString suString = rtl::OStringToOUString(sStr, RTL_TEXTENCODING_ISO_8859_15);
|
||||
|
||||
CPPUNIT_ASSERT_MESSAGE("Strings must be equal", suString.equals(suStr_UriDecodeToIuri) == sal_True);
|
||||
|
Reference in New Issue
Block a user