does mongoimport cli command support utf-8 format files?
is there way provide encoding format that, can accept non-utf-8 files, without manually converting each file utf-8?
this 1 way of doing on linux/unix. use iconv convert non-utf8 utf8 , use mongoimport on converted file:
iconv -f iso-8859-1 -t utf-8 myfile.csv > myfileutf8.csv man iconv should give more details options
also, import csv file (contains non-utf8 characters) in mongodb discusses options windows.
Comments
Post a Comment