You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Andrew Goktepe <an...@gmail.com> on 2008/05/11 21:19:40 UTC

Re: Encoding isssues Running .sql from java class through ANT

Shivani,

Are you saying that the inserts are successful when using <sql> but
unsuccessful when using your Java class?

If both of the above methods are unsuccessful, have you tried inserting
without Java or Ant?  Another factor could be database configuration.

-Andrew

On Fri, May 2, 2008 at 12:40 AM, Kothari, Shivani <sk...@inteqnet.com>
wrote:

>
> Hi,
>
> I am executing .sql which has insert statements(with french characters)
> which requires (UTF/ISo* encoding). This .sql is executed from java class
> through ANT scripts. In the result ? is inserted in database instead of
> desired output é.
>
>
>
> I tried running the same .sql from ant <sqL> task passing encoding
> parameters. But due to deployment required I have to run this *.sql from
> java class which is executed during ANT scripts Execution.
>
>
> Let me know what should be done?
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>