From 3253b296c21c54df228de39ff3e4775974df81d5 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 20 May 2011 05:17:27 -0400 Subject: [PATCH] - Clear properly mailboxes cache on folder subscription change --- tests/vcards.php | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/tests/vcards.php b/tests/vcards.php index 3b8f260..ba5ce2b 100644 --- a/tests/vcards.php +++ b/tests/vcards.php @@ -54,4 +54,12 @@ $this->assertEqual("Iksiñski", $vcards2[0]->surname, "Detect charset in encoded values"); } + function test_encodings() + { + $input = file_get_contents($this->_srcpath('utf-16_sample.vcf')); + + $vcards = rcube_vcard::import($input); + $this->assertEqual("Ǽgean ĽdaMonté", $vcards[0]->displayname, "Decoded from UTF-16"); + } + } -- Gitblit v1.9.1