diff options
author | Guido Günther <agx@sigxcpu.org> | 2009-04-17 22:31:43 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-04-17 22:31:43 +0200 |
commit | d403e625bd085bbf701e648f1e808cd10caad802 (patch) | |
tree | ac9ac3004034bd7517975840e68924246363ecc2 /test_files/more_tests.txt | |
parent | 43d36676eb8312d12aa50f124fd5f49902db10dd (diff) |
Imported Upstream version 0.8.1c
Diffstat (limited to 'test_files/more_tests.txt')
-rw-r--r-- | test_files/more_tests.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test_files/more_tests.txt b/test_files/more_tests.txt index a19cac1..4102fcc 100644 --- a/test_files/more_tests.txt +++ b/test_files/more_tests.txt @@ -74,11 +74,13 @@ quoted-printable >>> vcf = 'BEGIN:VCARD\nVERSION:2.1\nN;ENCODING=QUOTED-PRINTABLE:;=E9\nFN;ENCODING=QUOTED-PRINTABLE:=E9\nTEL;HOME:0111111111\nEND:VCARD\n\n' >>> vcf = vobject.readOne(vcf) >>> vcf.n.value -u';\xe9' +<Name: ? > +>>> vcf.n.value.given +u'\xe9' >>> vcf.serialize() -'BEGIN:VCARD\r\nFN:\xc3\xa9\r\nN:;\xc3\xa9\r\nTEL:0111111111\r\nVERSION:2.1\r\nEND:VCARD\r\n' +'BEGIN:VCARD\r\nVERSION:2.1\r\nFN:\xc3\xa9\r\nN:;\xc3\xa9;;;\r\nTEL:0111111111\r\nEND:VCARD\r\n' >>> vcs = 'BEGIN:VCALENDAR\r\nPRODID:-//OpenSync//NONSGML OpenSync vformat 0.3//EN\r\nVERSION:1.0\r\nBEGIN:VEVENT\r\nDESCRIPTION;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:foo =C3=A5=0Abar =C3=A4=\r\n=0Abaz =C3=B6\r\nUID:20080406T152030Z-7822\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n' >>> vcs = vobject.readOne(vcs, allowQP = True) >>> vcs.serialize() -'BEGIN:VCALENDAR\r\nPRODID:-//OpenSync//NONSGML OpenSync vformat 0.3//EN\r\nVERSION:1.0\r\nBEGIN:VEVENT\r\nDESCRIPTION:foo \xc3\xa5\nbar \xc3\xa4\nbaz \xc3\xb6\r\nUID:20080406T152030Z-7822\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n' +'BEGIN:VCALENDAR\r\nVERSION:1.0\r\nPRODID:-//OpenSync//NONSGML OpenSync vformat 0.3//EN\r\nBEGIN:VEVENT\r\nUID:20080406T152030Z-7822\r\nDESCRIPTION:foo \xc3\xa5\\nbar \xc3\xa4\\nbaz \xc3\xb6\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n' |