#1
|
|||
|
|||
non-english filename error
Hi
recently Jdownloader2 cannot create filename in non-English languages for youtube links. like Arabic or Russian. the links gets downloaded but at the end when it wants create the final file from audio and video file it gives error and ask to restart the link. this didn't happen before and and stared to happen at same time when I installed jdownloader2 in archlinux instead of manajaro linux distro. the file system that jdownloader is run and save file to have full Unicode support and I can actually rename the for to the correct file name in the download folder of jdownloader. some updates ago , jdownloader2 would download the file but would save the file with ????? characters instead of the non-English characters. but not it cant even do that and after completing the download it gives error. my info My OS: archlinux , kernel 3.19.3 , DE kde 4, filesystem EXT4 example link: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#2
|
||||
|
||||
Log please.
Works fine under Windows 7.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
sorry but some more info.
for Arabic file names it's not the filename language but it was file path length but the Japanese one still show up wrong, like this: "????????_My pet giant leech-33s-(360p-WEBM_DASH_360_VORBIS128)-spider huntsman-February 26, 2015 7_43_22 PM IRST-Youtube-H8ZfTFr2TAA.webm" which should be: "ペットの巨大ヒル/My pet giant leech-33s-(360p-WEBM_DASH_360_VORBIS128)-spider huntsman-February 26, 2015 7_43_22 PM IRST-Youtube-H8ZfTFr2TAA.webm" |
#4
|
||||
|
||||
So when the file is downloaded you have the "???" in the filename?
Again, log please!
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
yes
and log file for that season is attached (if I selected the correct one) |
#6
|
|||
|
|||
27.04.15 18.05.00to27.04.15 18.05.32 jdlog://3488773179241/
Tested: Bug packagename? Original: Star Academy Arabia JD2: StaracArabia Filename JD2: يلا مع بعض - النجمة هيفا وهبي، كنزة مرسلي، ابتسام تسكت في البرايم 10 من ستار اكاديمي 10 ORIGINAL: يلا مع بعض - النجمة هيفا وهبي، كنزة مرسلي، ابتسام تسكت في البرايم 10 من ستار اكاديمي 10 Last edited by djmakinera; 27.04.2015 at 19:11. |
#7
|
|||
|
|||
sorry but I dont understand your issue?
I see your post as this. "Filename JD2: €Š„ا …ع بعض - ا„†ج…ة ‡Šفا ˆ‡بŠŒ ƒ†زة …رس„ŠŒ ابتسا… تسƒت فŠ ا„براŠ… 10 …† ستار اƒادŠ…Š 10€ ORIGINAL: Š„ا …ع بعض - ا„†ج…ة ‡Šفا ˆ‡بŠŒ ƒ†زة …رس„ŠŒ ابتسا… تسƒت فŠ ا„براŠ… 10 …† ستار اƒادŠ…Š 10" I dont have this problem. I have issue with Japanese names and Russian names. your issue is Unicode support with you OS. |
#8
|
||||
|
||||
@rezad
Take what djmakerina says with grain of salt. Not related to your issue since you're not even using the same OS. with my youtube settinsg for filename StaracArabia - 201411150247 - يلا مع بعض - النجمة هيفا وهبي، كنزة مرسلي، ابتسام تسكت في البرايم 10 من ستار اكاديمي 10 - a53WtVbAgfI (720p_H264-256kbit_AAC).mp4 not sure how that works with Arabic right to left? putting that aside download also works here. Though using NTFS on Windows 7 machine. Maybe its a Java API issue ?? best to let Jiaz see, your logs where not that useful didn't contain any exceptions at least. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#9
|
|||
|
|||
raztoki - Why do you write in Arabic on the forum(jdownloader.org) and I can not???
I am writing in Chrome :D raztoki - Jdownloader will never support the Unicode Polish OS? Last edited by djmakinera; 27.04.2015 at 20:52. |
#10
|
|||
|
|||
Quote:
I have problems with Russian and Japanese names shown as rectangles. |
#11
|
||||
|
||||
@rezad
I understand its about length, just thought it might have todo about how each filesystem stores filenames. Some might to it in Character codes/ascii/unicode (uxxxx which might take up more length). I find that the best unicode ready font in window at least is Dialog I don't seem to have issues with that, you can change it in advanced. @djmakinera It probably has todo with your operating system + browser (usually takes it from os) system character code setting, Polish support comes under a few of formats Quote:
Quote:
Quote:
Arabic comes under different encoding types.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 28.04.2015 at 05:42. |
#12
|
||||
|
||||
Change FontName (Advanced Settings) to Dialog
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
Java is always Unicode. But when you want to show text (render) it depends on the Font to support the Unicode Characters. Thats why some fonts are better than others.
Same for Filesystem. When you have a specific CodePage for your filesystem, then you can only use those characters and not the complete unicode chars.
__________________
JD-Dev & Server-Admin |
#14
|
|||
|
|||
sorry it seems I didn't get my point across.
I don't have windows.I have linux(archlinux). and linux usually uses unicode for filenames. and as I said I can rename the file in my OS file manager to the name in Japanese without any problem after jdownloader downloads it its the jdownloader link grabber that doesn't show and get the correct name. this link for example ( **External links are only visible to Support Staff****External links are only visible to Support Staff**) I can see the correct Japanese name in firefox and If I use any download manager (like firefox built-in) it get and save the correct filename. but if i use jdownloader2 the Japanese part of filename gets replaced with rectangle characters. so to recap. I use linux. linux can completely show and save this file with the Japanese filename outside of jdownloader2. jdownloader2 doesn't show the name correctly. |
#15
|
||||
|
||||
I know you use linux (I didn't miss it) and so does Jiaz, this is why I asked Jiaz to make a comment than myself as I'm less educated on Linux and the Java API used to communicate with the different operating systems supported filesystems.
with latest link spider huntsman - 201502271213 - ペットの巨大ヒル_My pet giant leech - H8ZfTFr2TAA (720p_H264-256kbit_AAC).mp4 using Dialog font
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#16
|
|||
|
|||
Quote:
if you got that i use linux then why you are pointing me to use a windows font? EDIT:oh, dialog is not a windows exclusive font is it? is it Unicode compatible or is it just for Japanese? cause it seems to fix my Japanese issues but i don't want to have to later convert filename to utf Last edited by rezad; 28.04.2015 at 18:33. |
#17
|
||||
|
||||
fonts are generally not OS specific, they tend to be available in many operating systems when the OS supports the standard font formats.
Display issues in JD GUI do not directly relate to issue on disk, they should still save correctly on file system. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#18
|
|||
|
|||
I don't know about java but actually font ARE os specific in the way that they are not available on all OS by default.
like Arial and Tahoma and other windows fonts that are NOT available in linux by default(copy right). actually using the Dialog font fixed both disk and JD display issues, so your second point is wrong too. when I would get a link with Japanese, BECAUSE it was shown wrong in JD it was saved wrong in disk too.( I know what you are saying, and I agree that it shouldn't be this way and isn't this way usually, but in this case it is) sorry. about this issue I will test with other languages but hopefully it fixed it generally. |
#19
|
||||
|
||||
I know some are but most are not, or at least the ones I use. I never installed any additional fonts in decades (last time was for my woman, as she was school teacher and bought font disk).
I don't see how a display font on program should influence what saves on disk, maybe if you edit filename within JD GUI and something goes astray.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#20
|
|||
|
|||
As I said it shouldn't but it does in this case.
|
#21
|
||||
|
||||
Will test on my system tomorrow
I use linux myself and filenames never had issues. Gui is always depending the font to support the unicode chars. What filesystem do you use? save on?
__________________
JD-Dev & Server-Admin |
#22
|
||||
|
||||
it says in Original Post EXT4
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#23
|
|||
|
|||
I dont remember having this issue before (though it may be that I have never encountered weird links) but my OS as I said is Archlinux and the filesystem is ext4.
right now (as far as I know) this issue is not linux related but its combination of font and java and jdownloader2 together causes this and by using the "dialog" font my issues are gone as far as I know. |
#24
|
||||
|
||||
So no more issues? Its complete related to fonts. Filenames on disk should not be affected by this.
__________________
JD-Dev & Server-Admin |
#25
|
||||
|
||||
Works perfectly fine for me. In GUI and on Disk
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|