I noticed something odd. I have the following code:<br><br>data = """BEGIN:VCARD<br>VERSION:3.0<br>FN:John Smith<br>N:Smith;John;;;<br>END:VCARD"""<br><br>vcards = vobject.readComponents( data, allowQP=True )<br>
v = vcards.next()<br>print type(v.n.value)<br>print v.n.value<br><br>The output I see is:<br><br><class '<a href="http://vobject.vcard.Name">vobject.vcard.Name</a>'><br> John Smith <br><br>Which is what I expect. However, if I change the version to 2.1, I see:<br>
<br><type 'unicode'><br>Smith;John;;;<br><br>Why is the return value for the "N" component different between 2.1 and 3.0?<br>I am currently using version 0.6.6 of vobject.<br>