Make sure your input is unicode when you pass it to readOne
(or whatever parsing function you are using). If you want to go back to Windows-1251 coding, after you parse the vcard use result.encode('cp1251')
or codecs.open(filename, 'w', 'cp1251').write(result)
.
It is a little confusing what flow you are going thru. Are you doing phone -> google -> code
,
or since you use the word expects,
are you doing google -> code -> phone
?
This answer may help with conversions.