Announcement Announcement Module
Collapse
No announcement yet.
ItemWriter french write Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Does this help: http://static.springsource.org/sprin...lang.String%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.

    Comment

    Working...
    X