This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "a string".getBytes("ASCII")


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]