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

Win95: FileDialog.getFile()/getDirectory() return a file name in wrong encoding

XMLWordPrintable

    • 1.1fcs
    • x86
    • windows_95
    • Not verified

      masayoshi.okutsu@Eng 1996-12-19
      On windows95, java.awt.FileDialog.getFile() and getDirectory() return a
      file name in platform-native character encoding. For example, on Japanese
      Win95, it returns a Shift-JIS string.

      To reproduce on Japanese Win95:
        make a directory in Kanji.
        create FileDialog, show it, and move into the Kanji directory.
        close FileDialog.
        print names from FileDialog.getFile() and getDirectory().

            nishimur Naoyuki Ishimura (Inactive)
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: