public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
* "a string".getBytes("ASCII")
@ 2003-02-04  8:29 Raif S. Naffah
  2003-02-04 19:33 ` Brian Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Raif S. Naffah @ 2003-02-04  8:29 UTC (permalink / raw)
  To: Mauve

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

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?


thoughts?


cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE+P3pS+e1AKnsTRiERA7QxAKD3yPqiD657AuUN4MFLjNbIHATo1ACgjk7T
46CqDKoe0N0hAiRKSTRwS9U=
=JNf6
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "a string".getBytes("ASCII")
  2003-02-04  8:29 "a string".getBytes("ASCII") Raif S. Naffah
@ 2003-02-04 19:33 ` Brian Jones
  2003-02-04 19:36   ` Raif S. Naffah
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Jones @ 2003-02-04 19:33 UTC (permalink / raw)
  To: raif; +Cc: Mauve

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "a string".getBytes("ASCII")
  2003-02-04 19:33 ` Brian Jones
@ 2003-02-04 19:36   ` Raif S. Naffah
  0 siblings, 0 replies; 3+ messages in thread
From: Raif S. Naffah @ 2003-02-04 19:36 UTC (permalink / raw)
  To: Brian Jones; +Cc: Mauve

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-04 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-04  8:29 "a string".getBytes("ASCII") Raif S. Naffah
2003-02-04 19:33 ` Brian Jones
2003-02-04 19:36   ` Raif S. Naffah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).