* xgettext-csharp-1: Test verbatim string.
* xgettext-csharp-2: Test Unicode identifiers.
+2014-12-01 Daiki Ueno <ueno@gnu.org>
+
+ tests: Add more tests for C# Unicode handling
+ * xgettext-csharp-1: Test verbatim string.
+ * xgettext-csharp-2: Test Unicode identifiers.
+
2014-12-01 Daiki Ueno <ueno@gnu.org>
tests: Add test for Unicode surrogate characters in C#
// commented out through #if
String test5 = rm.GetString("Test String 5");
#endif
+ // verbatim string
+ String test5 = rm.GetString(@"first line
+second line
+third line");
}
}
EOF
#. commented out through #if
msgid "Test String 5"
msgstr ""
+
+#. verbatim string
+msgid ""
+"first line\n"
+"second line\n"
+"third line"
+msgstr ""
EOF
: ${DIFF=diff}
Console.WriteLine(GetString("Script: \U0001d49e"));
// And now a comment with Русский and 日本語 and Unicode escapes: B\u00f6se B\u00fcbchen
Console.WriteLine(GetString("This string has a multilingual comment"));
+ // Unicode identifiers.
+ String あ = "";
+ String 𐀀 = "";
+ int \u65e5\u672c\u8a9e = 1;
}
}
EOF