Results 1 to 2 of 2

Thread: Issue with FlatFileItemWriter encoding character set

  1. #1
    Join Date
    Nov 2009
    Location
    India
    Posts
    15

    Default 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. #2
    Join Date
    Nov 2009
    Location
    India
    Posts
    15

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •