qinglixiao / vcardio

Automatically exported from code.google.com/p/vcardio
0 stars 0 forks source link

"CHARSET=UTF-8" should be added to each property if it contains non ASCII values. #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an entry with non-ASCII characters.
2. Export the entry using vcardio

What is the expected output? What do you see instead?
Output should be like this:
BEGIN:VCARD
VERSION:2.1
X-IRMC-LUID:c37dfc89-e338-4182-8f85-c7ab216db9a2
N;CHARSET=UTF-8:;いえ;;;
END:VCARD

What version of the product are you using? On what operating system?
There's no CHARSET information.
BEGIN:VCARD
VERSION:2.1
X-IRMC-LUID:c37dfc89-e338-4182-8f85-c7ab216db9a2
N:;いえ;;;
END:VCARD

Please provide any additional information below.

Basically, this is very cool tool. However, at one point, I'd like to say
something.

vCard 2.1 specification (http://www.imc.org/pdi/vcard-21.txt) says as follows:

> The default character set is ASCII. The default character set can be
overridden for an individual property value by using the "CHARSET" property
parameter.

Unfortunately vcardio (or the library it is using) seems not care i18n at
this point.
I believe this tool would become much better if this issue was fixed

Original issue reported on code.google.com by d.miyak...@gmail.com on 13 May 2009 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by duckt...@gmail.com on 14 May 2009 at 5:27

GoogleCodeExporter commented 9 years ago
This issue was closed by r11.

Original comment by duckt...@gmail.com on 2 Jun 2009 at 7:06

GoogleCodeExporter commented 9 years ago
v0.11 fixes this bug. Please test.

Original comment by duckt...@gmail.com on 2 Jun 2009 at 7:07