Shashidhar Kotta wrote:
> We are using “–Dfile.encoding=UTF8” jvm args and now we are able to
> pass multi-byte strings from ANT to Java and even from the cmd to
> java also.
>
> But in our case we have string which has the characters from
> different regions. That's why when we set the system to
al Message-
From: Greg Roodt [mailto:gro...@gmail.com]
Sent: Thursday, December 11, 2008 3:42 PM
To: Ant Users List
Subject: Re: Passing multi-byte strings from ANT using task
Ok, could you send me a simplified version of your Java code that is writing
the data to a file?
Does this work cor
mples:
> Subject: RE: Passing
multi-byte strings from ANT using task> Date: Thu, 11 Dec 2008
15:57:39 +0530> From: shashidhar.ko...@ness.com> To: user@ant.apache.org> > >
Hi,> > I have tried with your ANT code but it is displaying ?m?n??? only.> >
Here is
- You should specify unicode content in the XML as valid XML content,
not escaped \u0123 style.
-The task and things that use it set up the command line; there's
a risk that it could get in the way and not preserve high unicode
content. If so, its something we need to test for
-A more rel
Mark,
Basically SK wants to pass a System Property into a Java programme executed
by Ant. The problem is, that he wants to set non-ASCII characters as the
System Property, which is a bit tricky.
I agree with you, we need a clearer understanding of what SK is trying to
achieve and perhaps BASE-64 o
Shashidhar Kotta wrote:
> Hi,
>
> I have tried with your ANT code but it is displaying ?m?n??? only.
Your code is encoding the String it sees into UTF-8, this is likely the
right output, but not what you expected?
You need to think through what you are trying to do, but from this
result, I would
ent: Thursday, December 11, 2008 3:42 PM
To: Ant Users List
Subject: Re: Passing multi-byte strings from ANT using task
Ok, could you send me a simplified version of your Java code that is writing
the data to a file?
Does this work correctly for you?
On Thu, Dec 11, 2008 at 9:4
Kotta.
>
> -Original Message-----
> From: Greg Roodt [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 11, 2008 2:03 PM
> To: Ant Users List
> Subject: Re: Passing multi-byte strings from ANT using task
>
> This is a guess, but try using the Unicode escape seque
---Original Message-
From: Greg Roodt [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2008 2:03 PM
To: Ant Users List
Subject: Re: Passing multi-byte strings from ANT using task
This is a guess, but try using the Unicode escape sequences for your
sysproperty.
On Thu, Dec 11,
This is a guess, but try using the Unicode escape sequences for your
sysproperty.
On Thu, Dec 11, 2008 at 7:12 AM, Shashidhar Kotta <[EMAIL PROTECTED]
> wrote:
>
> Hi All,
>
>
>
> In our project we have requirement to pass multi-byte strings from ANT to
> java program. We are passing multi-byte
Hi All,
In our project we have requirement to pass multi-byte strings from ANT to java
program. We are passing multi-byte strings using the ANT task. In
the java program we are retrieving it using the System.getProperty() method and
saving that value to a text file which is in UTF-8 format
11 matches
Mail list logo