Menu

#820 Smplayer fails to play files with Unicode characters in the filename

stable
open
nobody
None
5
2017-06-17
2017-06-13
No

For example:

$ smplayer š.mkv

Discussion

  • Ricardo Villalba

    What operating system are you using?

     
  • ⚛

    - 2017-06-13

    Gentoo Linux

     
    • Ricardo Villalba

      I can't reproduce this problem in my computer with Ubuntu.
      Could you send the mplayer/mpv log (menu "view") after trying to play that file?

       
  • ⚛

    - 2017-06-14

    strace shows that smplayer performs the following action (note the "??.mkv" at the end):

    execve("/usr/bin/mplayer", ["/usr/bin/mplayer", "-noquiet", "-slave", "-identify", "-nofs", "-vc", "ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau,ff"..., "-lavdopts", "threads=4", "-sub-fuzziness", "1", "-vo", "vdpau,", "-ao", "pulse,", "-dr", "-double", "-nomouseinput", "-input", "nodefault-bindings:conf=/dev/null", "-nokeepaspect", "-wid", "65011730", "-monitorpixelaspect", "1", "-subfont-osd-scale", "3", "-ass", "-embeddedfonts", "-ass-line-spacing", "0", "-ass-font-scale", "1", "-noflip-hebrew", "-ass-styles", "/home/atom/.config/smplayer/styles.ass", "-subcp", "ISO-8859-1", "-subpos", "100", "-volume", "100", "-osdlevel", "0", "-prefer-ipv4", "-noslices", "-channels", "2", "-af-add", "scaletempo", "-softvol", "-softvol-max", "110", "??.mkv"],

    Also, "Choose a file" dialog window is displaying "??.mkv" as the filename instead of "š.mkv".

     
    • Ricardo Villalba

      That's weird. It doesn't happen in my computer.
      Maybe a problem with your Qt library?

       

      Last edit: Ricardo Villalba 2017-06-17
  • ⚛

    - 2017-06-17

    Setting LC_ALL fixes the issue.

     

Log in to post a comment.