public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: raif@fl.net.au
Cc: Mauve <mauve-discuss@sources.redhat.com>
Subject: Re: new test cases (long)
Date: Sun, 16 Feb 2003 11:54:00 -0000	[thread overview]
Message-ID: <1045396437.30179.522.camel@elsschot> (raw)
In-Reply-To: <200302151101.21183.raif@fl.net.au>

Hi Raif,

Thanks for all the pointers. The character encoding names seem to be
confusing whatever way you look at it. What is and isn't a canonical
name, for what package, what the (historical) alias is, etc is difficult
to decipher.

Also note that the 1.4 docs and 1.4.1 encoding docs actually list
different canonical names... Duh...

Anyway I think the best thing todo is to add all canonical, historical
and/or alias must support character names to the getBytes() tests, at
least for the names that are documented on all these different
(versions) of the API/Spec pages. The distinction between names used for
java.lang/io and java.nio seems to only confuse matters and
implementations that only support some names for some of the library
classes will probably confuse users enormously.

So getBytes14 now tests US-ASCII, windows-1252, ISO-8859-1, ISO-8859-15,
ISO8859_15, UTF-16BE and UTF-16LE. Together with the getBytes13 tests
this should catch all the encoding names that people will probaly always
expect to be available in a normal class library implementation.

Cheers,

Mark

  reply	other threads:[~2003-02-16 11:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-08 16:15 Raif S. Naffah
2003-02-14 11:57 ` Mark Wielaard
2003-02-14 23:58   ` Raif S. Naffah
2003-02-16 11:54     ` Mark Wielaard [this message]
2003-02-16 16:44       ` Raif S. Naffah
2003-02-16 17:21         ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1045396437.30179.522.camel@elsschot \
    --to=mark@klomp.org \
    --cc=mauve-discuss@sources.redhat.com \
    --cc=raif@fl.net.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).