Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4935601

Add to JFileChooser a mechanism for file encoding selection

XMLWordPrintable



      Name: rmT116609 Date: 10/09/2003


      A DESCRIPTION OF THE REQUEST :
      Add to JFileChooser another JComboBox for file encoding selection.

      JUSTIFICATION :
      In many I18N applications, files are stored in different encodings, including Unicode formats. It would be very useful for JFileChooser to have a file encoding selection mechanism similar to that in Microsoft Windows' standard file dialogs -- the "Encoding" option can be seen in Windows 2000/XP's Notepad, in File Open/Save dialog, directly under "File name" and "Save as type" combo boxes.

      This enhancement will make JFileChooser closely match Windows standard file dialogs and be a desirable option on other platforms as well.

      (This RFE would also be a nice complement to RFE Bug Id 4932968.)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      This option could be invisible by default, pre-populated with commonly used encodings (based on locale?), and made visible by a JFileChooser's new API method. Methods to populate the box with encoding strings and to get/set currently selected encoding should also be provided.
      (Incident Review ID: 215049)
      ======================================================================

            malenkov Sergey Malenkov (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: