added the test case for GNU iconv
@@ -22,6 +22,11 @@ | ||
22 | 22 | |
23 | 23 | const charset::wstring& ws2 = charset::from_code_page(s, 0); |
24 | 24 | BOOST_CHECK_EQUAL_COLLECTIONS(ws2.begin(), ws2.end(), ws.begin(), ws.end()); |
25 | + | |
26 | + BOOST_CHECK( | |
27 | + charset::from_code_page(std::string(32, ' '), 0) == | |
28 | + charset::wstring(32, L' ') | |
29 | + ); | |
25 | 30 | } |
26 | 31 | |
27 | 32 | void sjis_test() |