This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Re: "a string".getBytes("ASCII")
- From: "Raif S. Naffah" <raif at fl dot net dot au>
- To: Brian Jones <cbj at gnu dot org>
- Cc: Mauve <mauve-discuss at sources dot redhat dot com>
- Date: Wed, 5 Feb 2003 06:39:25 +1100
- Subject: Re: "a string".getBytes("ASCII")
- References: <200302041931.15647.raif@fl.net.au> <m37kcgdwkl.fsf@lyta.haphazard.org>
- Reply-to: raif at fl dot net dot au
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On Wednesday 05 February 2003 00:06, Brian Jones wrote:
> "Raif S. Naffah" <raif@fl.net.au> writes:
> > hello there,
> >
> > the encoding page in the JDK1.4.1 documentation states that "ASCII"
> > is a supported encoding (see
> > <.../docs/guide/intl/encoding.doc.html>).
> >
> > i dont see in the Mauve String test classes any test for things
> > like "a string".getBytes("ASCII") --and more generally getBytes()
> > for supported encodings.
> >
> > is it ok to add some methods to the
> > gnu/testlet/java/lang/String/getBytes.java class to test ASCII and
> > other encodings? or may be create a new class 'encoding14.java' to
> > test all 1.4 supported encodings?
>
> Probably add to getBytes.java if the TAGS java version is okay in the
> TAGS line, otherwise create a new file with the appropriate TAGS line
> and probably called getBytes<version>.java, such as getBytes14.java.
ok. i'll submit some code later today or tomorrow for review.
cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique
iD8DBQE+QBbt+e1AKnsTRiERAxy/AJ9j60YssDWE/8WhjGOm0eMMtmAylACg7S3Y
IEj8+xKEUw8qOYBHfs3yeRc=
=RuWp
-----END PGP SIGNATURE-----