Apr 22nd, 2010, 12:13 AM
Issue with FlatFileItemWriter encoding character set
I have an issue with FlatFileItemWriter encoding. In application I am reading data from database and writing into flat file with txt extension in the linux environment.
Application database have text like below
text :: América do AMÉRICA SOLUÇÕES D
I need to write the above text like below
text :: Amrica do AMRICA SOLUES D
Currently I am able to write same way how DB contains. issue here is producing doubled character for the other applications.like below
text :: AmÃ©rica do AMÃ‰RICA SOLUÃ‡Ã•ES D
I try to use setEncoding method. but I am not able to success.
is Spring Batch supports this kind of character set?
thanks in advance. Please share your inputs.
Apr 22nd, 2010, 12:55 AM
I am able to get by setting encoding as ISO-8859-1 for writer
Tags for this Thread