0

I am using spring batch to read a csv file and write it to sql server.I am getting format error while reading.The string 'MRC DE LA HAUTE-CßTE-NORD' is read as 'MRC DE LA HAUTE-C�TE-NORD' and stored as 'MRC DE LA HAUTE-C?TE-NORD' in sql server.

kindly help.

Amuthan
  • 111
  • 2
  • 11
  • See if you can specify a character encoding for the import (for reading the file). – Thilo Jan 21 '16 at 10:53
  • I am sure you can. Check your code for a parameter to set the encoding. – Thilo Jan 21 '16 at 11:35
  • Possible duplicate of [What is character encoding and why should I bother with it](http://stackoverflow.com/questions/10611455/what-is-character-encoding-and-why-should-i-bother-with-it) – Raedwald Jan 21 '16 at 13:13

0 Answers0