ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: sql task encoding problem using sjis
Date Wed, 14 Apr 2004 22:16:16 GMT
If you are interested in a new commentchars attribute being added to the sql task so that users
can identify what Ant should consider a comment, please go vote for the enhancement proposed
by Jack Woehr at...

http://issues.apache.org/bugzilla/show_bug.cgi?id=28394

Thanks,

-Rob Anderson

> -----Original Message-----
> From: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com]
> Sent: Tuesday, April 13, 2004 11:57 PM
> To: Ant Users List
> Subject: Re: sql task encoding problem using sjis
> 
> 
> > > You can also try with escapeprocessing and/or
> > > keepformat attribuites of <sql> task.
> > 
> > What's that?
> They are described in Ant Manual[1]. 
> 
> Your problem astonished me since you have some rows
> NOT inserted in the database and I had all my values
> inserted but with wrong encoding (I am using mainly
> the cyrillic encodings windows-1251/CP1251). The last
> two things I can recommend you is to
> 1) remove or replace sjis letters with english letters
> and see what happens
> 2) I often found useful to specify the jdbc connecting
> string in this format:
> jdbc:mysql://localhost:3306/somedb?useUnicode=true&characterEn
> coding=windows-1251
> or in your case try:
> jdbc:mysql://localhost:3306/somedb?useUnicode=true&characterEn
> coding=sjis
> For more information see [2].
> 
> Sorry I am not able to give more clear advice.
> Ivan
> 
> [1]http://ant.apache.org/manual/CoreTasks/sql.html
> [2]http://dev.mysql.com/doc/connector/j/en/index.html#id2801179
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message