added setlocale option to better deal with special characters
thanks to my non-english character CSV folks