classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: implementing "historical" character encoding names


From: Mark Wielaard
Subject: Re: implementing "historical" character encoding names
Date: Mon, 20 Sep 2004 21:27:05 +0200

Hi,

On Mon, 2004-09-20 at 19:25, Noa Resare wrote:
> Hello friends
> 
> OutputStreamWriter.getEncoding() is documented in Sun's 1.4.2 apidocs to
> return the "historical" name of the used encoding. In the
> java.nio.charset.Charset docs "historical name" is defined as
> "Some charsets have an historical name that is defined for compatibility
> with previous versions of the Java platform." I couldn't find any more
> information about the historical encoding names (such as a list) in the
> api specification.

Ah, just answered this on the mauve list.

The Java Class libries Second Edition Volume 1 lists them under the
String constructor description. An online copy can be found at:
http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html
in the column "Canonical Name for java.io and java.lang API"

> Is running a program like the one attached below in Sun's java an ok way
> of gathering the information needed to implement the "historical
> charset" functionality?

If there is no public documentation and there are no (free) programs
depending on a feature/implementation detail then you don't have to go
out of the way to support such things.

> If nothing unforeseen happens I might be contributing code to classpath
> in the future. Where can I find the copyright assignment document
> discussed in the Hackers Guide?

You write to me or the list and then I'll email you the forms.
Expect email soon :)

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]