Sung-Gu wrote:
Sung-Gu, I don't want to upset you. I just want to understand the problem that you are trying to solve with toUsingCharset. Your explanations did not help so far. Call me stupid but I guess I am not the only one here who doesn't understand the problem. (if I am wrong could someone else please tell me)----- Original Message ----- From: "Ortwin Gl�ck" <[EMAIL PROTECTED]>Arrrg... again... :( Not surprising though... :(((
You speak of "transformation". What sort of transformation is that? Theimport sun.nio.cs.StandardCharsets;
Maybe you could just answer the following questions with yes or no each:
1. Is the problem related with characters that have no Unicode code assigned?
2. Is the problem that you want to pass non ISO-8859-1 data in POST or GET parameters?
3. Is a String object capable of containing characters that have no Unicode representation?
4. Is a byte[] capable of containing characters that have no Unicode representation?
---------
CharsetProvider standardProvider = new StandardCharsets();
for (Iterator i = standardProvider.charsets(); i.hasNext();) {
System.out.println(i.next());
}
What can you get it?
And what can you do it with them?
Could you please explain to me?
------
A Charset instance can convert String objects to byte[] and vice versa using a specific encoding. Charset instances are factored by the CharsetProvider. These classes are new as of JDK 1.4. In earlier JDKs these interfaces were burried deep inside the Sun implementation and not for public use.
HTH
Odi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
