JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 27.04.2015, 10:59
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default 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**
Reply With Quote
  #2  
Old 27.04.2015, 17:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Log please.
Works fine under Windows 7.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 27.04.2015, 18:42
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

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"
Reply With Quote
  #4  
Old 27.04.2015, 18:56
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5  
Old 27.04.2015, 19:06
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

yes
and log file for that season is attached (if I selected the correct one)
Attached Files
File Type: zip 1430149000209_20.06.zip (64.4 KB, 28 views)
Reply With Quote
  #6  
Old 27.04.2015, 19:07
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,387
Default

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.
Reply With Quote
  #7  
Old 27.04.2015, 19:51
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

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.
Reply With Quote
  #8  
Old 27.04.2015, 20:33
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

@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. :]
Reply With Quote
  #9  
Old 27.04.2015, 20:49
djmakinera djmakinera is offline
Banned
 
Join Date: May 2010
Location: Poland
Posts: 8,387
Default

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.
Reply With Quote
  #10  
Old 27.04.2015, 23:52
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

Quote:
Originally Posted by raztoki View Post
@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
I don't have problem with Arabic names, it was a mistake about filename length.

I have problems with Russian and Japanese names shown as rectangles.
Reply With Quote
  #11  
Old 28.04.2015, 05:34
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

@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:
ISO 8859-16 Central, Eastern and Southern European languages (Albanian, Bosnian, Croatian, Hungarian, Polish, Romanian, Serbian and Slovenian, but also French, German, Italian and Irish Gaelic)
Quote:
Windows-1250 for Central European languages that use Latin script, (Polish, Czech, Slovak, Hungarian, Slovene, Serbian, Croatian, Bosnian, Romanian and Albanian)
Quote:
ISO 8859-13 Baltic languages plus Polish
please see _http://en.wikipedia.org/wiki/Character_encoding

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.
Reply With Quote
  #12  
Old 28.04.2015, 11:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Quote:
Originally Posted by raztoki View Post
@rezad

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.
Change FontName (Advanced Settings) to Dialog
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 28.04.2015, 11:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

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
Reply With Quote
  #14  
Old 28.04.2015, 17:56
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

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.
Reply With Quote
  #15  
Old 28.04.2015, 18:22
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #16  
Old 28.04.2015, 18:30
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

Quote:
Originally Posted by raztoki View Post
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
ty for your reply.

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.
Reply With Quote
  #17  
Old 28.04.2015, 19:11
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #18  
Old 28.04.2015, 19:22
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

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.
Reply With Quote
  #19  
Old 28.04.2015, 19:26
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #20  
Old 28.04.2015, 19:30
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

Quote:
Originally Posted by raztoki View Post
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.
As I said it shouldn't but it does in this case.
Reply With Quote
  #21  
Old 28.04.2015, 19:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

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
Reply With Quote
  #22  
Old 28.04.2015, 20:08
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #23  
Old 28.04.2015, 20:16
rezad rezad is offline
JD Adviser
 
Join Date: Jan 2014
Posts: 109
Default

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.
Reply With Quote
  #24  
Old 29.04.2015, 11:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

So no more issues? Its complete related to fonts. Filenames on disk should not be affected by this.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #25  
Old 29.04.2015, 11:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Works perfectly fine for me. In GUI and on Disk
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 22:54.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.