zeevikm
unread,Oct 25, 2010, 7:26:19 PM10/25/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Hi All,
I am trying to import a CSV file (maxmind geo data) with mongoimport.
All non-latin characters (ex: Myggsjön) produce and exception (bash/
mac os x). What am I doing wrong?
Output example:
Mon Oct 25 15:58:35 got line:291169,"NL","15","Wiene","",
52.2500,6.6500,,
Mon Oct 25 15:58:35 got line:291170,"IR","24","Shahresduneh","",
34.3242,50.7353,,
Mon Oct 25 15:58:35 got line:291171,"IT","05","Camposonaldo","",
43.9500,11.8833,,
Mon Oct 25 15:58:35 got line:291172,"SE","10","?ngarna","",
60.3833,15.7167,,
exception:Invalid UTF8 character detected
291172,"SE","10","?ngarna","",60.3833,15.7167,,
Mon Oct 25 15:58:35 got line:291173,"SE","10","Myggsj?n","",
60.3333,15.3000,,
exception:Invalid UTF8 character detected
291173,"SE","10","Myggsj?n","",60.3333,15.3000,,
Mon Oct 25 15:58:35 got line:291174,"JP","23","Higashi-kurobe","",
34.5833,136.6000,,
Mon Oct 25 15:58:35 got line:291175,"CN","04","Daijiacun","",
31.6083,119.7111,,
Thanks for your help!