CiKu370 / OSIF

Open Source Information Facebook
GNU General Public License v2.0
1.06k stars 461 forks source link

hello dump error #28

Open anthotony17 opened 4 years ago

anthotony17 commented 4 years ago

hello script ok but after send :

dump_mail [] load access token [] Success load access token [] fetching all emails [] start

it returns a dozen emails then sends me this error message :

.... .... [Adam Anderson] >> adbud@rogers.com T``` raceback (most recent call last): File "C:\Users\TONY\Desktop\fbi-master\fbi.py", line 1241, in main() File "C:\Users\TONY\Desktop\fbi-master\fbi.py", line 987, in main main() File "C:\Users\TONY\Desktop\fbi-master\fbi.py", line 993, in main dump_mail() File "C:\Users\TONY\Desktop\fbi-master\fbi.py", line 836, in dump_mail print W + '[' + G + z['name'] + W + ']' + R + ' >> ' + W + z['email'] File "C:\Python27\lib\encodings\cp850.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode characters in position 1-4: character maps to