Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


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

[Advanced-java] aliasing charsets


  • From: kgraham@xxxxxxxxxxxxxxxx (kevin graham)
  • Subject: [Advanced-java] aliasing charsets
  • Date: Wed, 13 Mar 2002 11:33:09 -0800 (PST)

Does anyone know of a quick hack to add aliases for charsets? In a
JavaMail application, I'm (sadly) finding several unsupported variations
of naming for supported charsets, ie 'US-ACSII' (yes, really) and
'unicode-1-1-utf-7'.

I don't recall the exact path, but 1.4 has support for a provider list
under META-INF, but it would seem that Sun skipped this for JRE-supplied
charsets.

Is there a simplistic approach, or am I going to have to write stubs to
the real charset and then alias those?

thanks
..kg..