Results 1 to 2 of 2

Thread: ItemWriter french write

  1. #1
    Join Date
    Nov 2009
    Posts
    16

    Default ItemWriter french write

    hallo i have a problem with myItemWriter :
    in my data base i have records like this :
    Code:
    réparer en atelier a la façade..
    but when i use my itemwriter i have a file csv like this :
    Code:
    Réparer en atelier a la façade
    here is my itemWriter
    Code:
    <bean id="CCPWriter" class="org.springframework.batch.item.file.FlatFileItemWriter">
    		<property name="resource" value="file:target/test-outputs/Ccp.txt" />
    		<property name="lineAggregator">
    			<bean
    				class="org.springframework.batch.item.file.transform.DelimitedLineAggregator">
    				<property name="delimiter" value=";" />
    				<property name="fieldExtractor">
    
    					<bean
    						class="org.springframework.batch.item.file.transform.BeanWrapperFieldExtractor">
    						<property name="names"
    							value="ccId,ccLib,expr1" />
    					</bean>
    				</property>
    			</bean>
    		</property>
    	</bean>
    should i use
    Code:
    <property name="format" value="????(" />
    and what will be my pattern value= ????

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Does this help: http://static.springsource.org/sprin...ng.St ring%29 (try your favourite French encoding). If not then I suspect you need to supply a few more details about your platform and environment - the problem could just as easily be in your database layer as in the application.

Posting Permissions

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