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

Can not use Multi-byte file path for Media player.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx1.2.1
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Japanese Windows Vista

      Description

      When I tried to display wmv file with Japanese file name from javafx.scene.media.MediaView,
      following exception are displayed and can not play it.

      FX Media Object caught Exception com.sun.media.jmc.MedaUnsupportedException: Unsupported media: file:///C:/Users/root/Documents/[Japanese file name].wmv
           source ='file:///C:/Users/root/Documents/[Japanese file name].wmv
                                              :
                                              :

      BTW, Japanese file name can use javafx.scene.image.Image, like:

          url: "file:///C:/Users/root/Documents/[Japanese file name].jpg"

      So, please also change to be able to use Multi-byte file name on javafx.scene.media.Media.

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            ktachiba Kenji Tachibana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: