You could always write a CharSetProvider for ebcdic if your jvm didn't support it natively. They are pretty simple to write so long
as you are clear to how the encoding actually works. In fact i'd be surprised if there wasn't a freely available one already available.


----- Original Message ----- From: "Matt Benson" <[EMAIL PROTECTED]>
To: "Ant Users List" <[email protected]>; "Mark Lybarger" <[EMAIL PROTECTED]>
Sent: Monday, April 11, 2005 4:24 PM
Subject: Re: convert ascii to ebcdic files using ant



It's an encoding.  You should be able to specify it
with the copy task, assuming your JRE supports it.

-Matt

--- Mark Lybarger <[EMAIL PROTECTED]> wrote:
can i use an ant copy task and specify the encoding
there?

I'm not finding the Cp1047 that Matt suggested? Is
this an ant task?

On Apr 11, 2005 4:17 PM, Jeffrey E Care
<[EMAIL PROTECTED]> wrote:
>
> If you're using an IBM JDK then it probably has
support for cp1047
> encodings.
>
> JEC
> --
> Jeffrey E. Care ([EMAIL PROTECTED])
> WebSphere Build SWAT Team Lead
> WebSphere Build Tooling Lead (Project Mantis)
> https://w3.opensource.ibm.com/projects/mantis
>
> "Dominique Devienne" <[EMAIL PROTECTED]> wrote on
04/11/2005 04:03:49 PM:
>
> > > From: Mark Lybarger
[mailto:[EMAIL PROTECTED]
> > >
> > > is there a way using ant to convert a folder
full of ascii text files
> > into
> > > ebcdic files? we're pulling cvs on a linux box
and want to be able to
> > > build
> > > the ear for deployment on zos. for some
reason, some of the files
> > _have_
> > > to
> > > be ebcdic encoded files. i think the issue is
that the ebcdic files
> > are
> > > being looked at only by the IBM Http Server,
and not by the WAS
> > server.
> > >
> > > anyway, suggestions would be welcome.
> >
> > <copy> now has an 'outputencoding' attribute.
But EBCDIC is not part of
> > the standard set of charsets supported by Java
(US-ASCII, ISO-8859-1,
> > and various UTF-8 and UTF-16) are. But it also
mentions more charsets
> > may be available. I don't know more, sorry. --DD
> >
> >

---------------------------------------------------------------------
> > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > For additional commands, e-mail:
[EMAIL PROTECTED]
> >
>
>




__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to