Announcement Announcement Module
Collapse
No announcement yet.
Issue with FlatFileItemWriter encoding character set Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with FlatFileItemWriter encoding character set

    Hi,

    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.

  • #2
    I am able to get by setting encoding as ISO-8859-1 for writer

    Comment

    Working...
    X