-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.2
-
generic
-
generic
Name: stC104175 Date: 04/13/2000
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)
The String class provides constructors and methods to convert to and from a lot
of text encoding systems. But there is no method (I searched in String,
java.text and java.util) to detect automatically the right encoding or a list
of possible encoding (ala EMACS).
It would be nice to have a method, say "String[] autoDetectEncoding(byte[])".
The parameter is the encoded string whose encoding is not known. The array of
Strings that is returned would be a list of possible encoding.
This feature would be usefull for text processor with multilingual feature
(Review ID: 102078)
======================================================================
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)
The String class provides constructors and methods to convert to and from a lot
of text encoding systems. But there is no method (I searched in String,
java.text and java.util) to detect automatically the right encoding or a list
of possible encoding (ala EMACS).
It would be nice to have a method, say "String[] autoDetectEncoding(byte[])".
The parameter is the encoded string whose encoding is not known. The array of
Strings that is returned would be a list of possible encoding.
This feature would be usefull for text processor with multilingual feature
(Review ID: 102078)
======================================================================