This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Re: "a string".getBytes("ASCII")
- From: Brian Jones <cbj at gnu dot org>
- To: raif at fl dot net dot au
- Cc: Mauve <mauve-discuss at sources dot redhat dot com>
- Date: 04 Feb 2003 08:06:33 -0500
- Subject: Re: "a string".getBytes("ASCII")
- References: <200302041931.15647.raif@fl.net.au>
"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.
My $0.02,
Brian
--
Brian Jones <cbj@gnu.org>