+ for ( size_t n = 0; n < WXSIZEOF(utf7data); n++ )
+ {
+ const StringConversionData& d = utf7data[n];
+ DoTestConversion(d.str, d.wcs, conv);
+ }
+}
+
+void StringTestCase::ConversionUTF8()
+{
+ static const StringConversionData utf8data[] =
+ {
+#if !defined(__GNUC__) || (__GNUC__ >= 3)
+ { "\xc2\xa3", L"\u00a3" },
+#endif
+ { "\xc2", NULL },
+ };
+
+ wxCSConv conv(_T("utf-8"));
+ for ( size_t n = 0; n < WXSIZEOF(utf8data); n++ )
+ {
+ const StringConversionData& d = utf8data[n];
+ DoTestConversion(d.str, d.wcs, conv);
+ }