Thread: [Developer Feedback required] Problem handling UTF-8 characters on FreeNAS/ZFS
View Single Post
  #1  
Old 13.02.2020, 06:51
stelec stelec is offline
Modem User
 
Join Date: Feb 2020
Posts: 3
Default Problem handling UTF-8 characters on FreeNAS/ZFS

I am running JDownloader in a FreeNAS 11.2 jail on a ZFS volume, and controlling JD through My.JDownloader.

When I try to download a YouTube video with UTF-8 characters in its name (such as fancy quotes, accented letters, signs), the corresponding folder and video file names on disk are messed up. The UTF-8 characters are replaced by a question mark.

For instance, take the video:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
and select "subfolder by package" before downloading. Download the mp4.

The resulting file path will be:
Code:
Friandises de No?l _ attention aux exc?s ! - Le Magazine de la sant?/Friandises de No?l _ attention aux exc?s ! - Le Magazine de la sant? (1080p_25fps_H264-128kbit_AAC).mp4
instead of the expected:
Code:
Friandises de Noël : attention aux excès ! - Le Magazine de la santé/Friandises de Noël : attention aux excès ! - Le Magazine de la santé (1080p_25fps_H264-128kbit_AAC).mp4
I tried to download the same video with JD on Windows and the names were correct. I can also successfully create a folder with the correct name through command line, so this is not something to do with the filesystem not supporting these characters.

Also, having question marks in the filename makes the problem worse when the folder is browsed through a Windows network share, since question marks are illegal characters on Windows. So when I access my FreeNAS server over \\myserver, I only see some 8.3-like folder/file names like "FVNAKE~N" and "FW6HS3~D.MP4" for that video.
Reply With Quote