Back to my blog Back to my projects

Scripts

Changeset d473bae


Ignore:
Timestamp:
01/07/12 10:55:35 (17 months ago)
Author:
Aurélien Bompard <aurelien@…>
Branches:
master
Children:
45222ed
Parents:
df70fe1
git-author:
Aurélien Bompard <aurelien@…> (01/07/12 10:55:35)
git-committer:
Aurélien Bompard <aurelien@…> (01/07/12 10:55:35)
Message:

Encoding fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gmail-contacts-to-vcf.py

    r7116c26 rd473bae  
    11#!/usr/bin/env python 
    2  
    3 """ 
     2# -*- coding: utf-8 -*- 
     3u""" 
    44GMail contacts to VCF 
    55--------------------- 
     
    6969                    # Don't store this contact, it's a collected address 
    7070                    continue 
    71                 print i+1, entry.title.text 
     71                print i+1, entry.title.text.encode("utf8") 
    7272                #print entry 
    7373                contact = self._make_contact(entry) 
Note: See TracChangeset for help on using the changeset viewer.