|
#1
|
|||
|
|||
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 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 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. |
#2
|
||||
|
||||
I have absolutely no idea.
Please post a log so I can ask our other teammembers. Please post your log-ID here | bitte poste deine Log-ID hier. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
OK, this got complicated. I cleared my download history and applied the latest JD update, then I could not reproduce the problem (i.e., the file and folder names were fine).
Looking at the changelog for JD, I couldn't find any change that may solve my problem, so it must have been the other factor: the download list. I restored the previous downloadList.zip in the cfg folder, then tried to download again this YouTube video and the problem came back. So that may have to do with the format or encoding of the download history. I downloaded quite a few videos, some with weird names that may have corrupted the download history somehow. I will try to investigate further. In the meantime, this is my log id: jdlog://7326430900751 Thanks. |
#4
|
||||
|
||||
There were no changes to solve your problem.
You have to update your locale setting then this issue should be solved: https://board.jdownloader.org/showpo...&postcount=929 Sorry for the delay! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
The locale setting is not the issue. The problem is also difficult to reproduce. I currently have two JD installations, one with the problem, the other one without.
FreeNAS already runs with Code:
MM_CHARSET=UTF-8 LANG=en_US.UTF-8 Code:
LC_CTYPE=en_US.UTF-8 LC_COLLATE=C Is the jdlog I submitted helpful? |
Thread Tools | |
Display Modes | |
|
|