aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/charsetTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-03-25 11:32:48 +0000
committerVincent Richard <[email protected]>2013-03-25 11:32:48 +0000
commit9d2703c376d2ee7501ed78be8c962203fbfd098f (patch)
tree5a5ae827813bb0e63105c0db90b2d5ec60ae9a2e /tests/parser/charsetTest.cpp
parentPkg-config file changed back to "vmime.pc" (fixed issue #35). (diff)
downloadvmime-9d2703c376d2ee7501ed78be8c962203fbfd098f.tar.gz
vmime-9d2703c376d2ee7501ed78be8c962203fbfd098f.zip
Added support for charset conversion with ICU (thanks to Mehmet Bozkurt).
Diffstat (limited to 'tests/parser/charsetTest.cpp')
-rw-r--r--tests/parser/charsetTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/parser/charsetTest.cpp b/tests/parser/charsetTest.cpp
index 2aab7550..915b8560 100644
--- a/tests/parser/charsetTest.cpp
+++ b/tests/parser/charsetTest.cpp
@@ -141,7 +141,8 @@ VMIME_TEST_SUITE_BEGIN(charsetTest)
void testUTF7Support()
{
// Ensure UTF-7 is supported, because it is used for IMAP
- VASSERT_EQ("1", "VMime +ACY UTF-7 encoding", convertHelper("VMime & UTF-7 encoding", "utf-8", "utf-7"));
+ VASSERT_EQ("1", "VMime +- UTF-7 encoding", convertHelper("VMime + UTF-7 encoding", "utf-8", "utf-7"));
+ VASSERT_EQ("2", "f+APg-o", convertHelper("\x66\xc3\xb8\x6f", "utf-8", "utf-7"));
}
VMIME_TEST_SUITE_END