RFE: java.lang.String method to provide Auto-detect of text encoding

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.2.2
    • Component/s: core-libs

      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)
      ======================================================================

            Assignee:
            Xueming Shen
            Reporter:
            Sean Tompkins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: