NameIT icon indicating copy to clipboard operation
NameIT copied to clipboard

Multiple ways of handling separators in csv-files

Open imaginetobe opened this issue 3 years ago • 0 comments

There's multiple methods of handling the separator used in csv files.

Person generator is set to always use ',' https://github.com/dfinke/NameIT/blob/fdf82a9be2bf08dddf221018be8fcb4234c42612/Generators/person.ps1#L60

City generator uses the current culture setting (in Swedish culture set to ';' ) https://github.com/dfinke/NameIT/blob/fdf82a9be2bf08dddf221018be8fcb4234c42612/Generators/city.ps1#L11

IMHO it would be easier to stick to ',' to avoid confusion when translating the data files.

imaginetobe avatar Sep 17 '21 12:09 imaginetobe