csv2ldif2 is a command line tool written in perl that converts CSV files to LDIF files. Features: Platform independent, reads from STDIN and writes to STDOUT, ignoring/selecting specific fields of the CSV, choosing a custom base-dn and much more!
In case you get encoding problems with EXCEL exported CSV-files, you probably need to adjust the CSV delimeter and the input encoding:
csv2ldif2.pl -e CP850 -d ';' ...
The codeset used by your excel varies by region (OS localization) and excel version, so you probably need to search the ionternet in case the above example (or CP1250 to CP1259, or latin1) does not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In case you get encoding problems with EXCEL exported CSV-files, you probably need to adjust the CSV delimeter and the input encoding:
csv2ldif2.pl -e CP850 -d ';' ...
The codeset used by your excel varies by region (OS localization) and excel version, so you probably need to search the ionternet in case the above example (or CP1250 to CP1259, or latin1) does not work.