Broken file name when downloading
-
답글: Broken file name on save if contains russian chars
I also having similar problem. In my case, it's Korean.
I'm not sure but this is related to the site encoding.
When I use Naver site, I got this problem not on every site.
Example site url: https://blog.naver.com/qtr01122/221370566599
"첨부파일(1)" means attached file (1). Click it.
Click "내PC저장" that means save file to my PC.
In here, file name is correctly displayed.
However, at the next step, it is changed oddly.Does anyone know the reason?
Could it be solved?
Thanks in advance
-
@hepaticboy The Korean site uses javascript to block the right-click menu, presumably to make it harder to download images.
Are you bypassing the script to download the images?
-
@pesala said in Broken file name when downloading:
@hepaticboy The Korean site uses javascript to block the right-click menu, presumably to make it harder to download images.
Are you bypassing the script to download the images?
@Pesala Thank you for your answer. It's not about downloading an image of the site. On that site, we can download attached file like I showed in the first and second images with red rectangle. My explanation was not enough. So, by clicking 2 buttons on the images, we can download file and it shows 3rd image. At that time the file name is correctly showed as "아오부타+1화.smi". But, in the next step, it is broken.
And it is well downloaded with Chromium 67.0.3396.87 64 bit.
-
@hepaticboy For me, the encoding is already broken in the download dialog:
I think you should file a bug report so that the developers could take a look at this.
-
@pafflick Interesting
Thank you for your help. I will report this.
-
do you want it?
¾Æ¿ÀºÎŸ+1È_.smi
. The file is similar to HTML.P { margin-left:8pt; margin-right:8pt; margin-bottom:2pt; margin-top:2pt; font-size:14pt; text-align:center; font-family:굴림, Arial; font-weight:normal; color:white; background-color:black; } .KRCC { Name:한국어; lang:ko-KR; SAMIType:CC; } #STDPrn { Name:Standard Print; } #LargePrn { Name:Large Print; font-size:20pt; } #SmallPrn { Name:Small Print; font-size:10pt; } --> </STYLE>``` Btw, I read your bur report, it is quite difficult to analyse those {characters} <-- Edit
-
@lamarca said in Broken file name when downloading:
Btw, I read your bur report, it's quite difficult to analyse those
I honestly have no clue what your posting has to do with the problem.
About the problem:
It is a simple case of encoding mismatch. The page and especially the HTML4 transitional iframe with the link claims to be UTF-8 but the relevant part of the URL and the file name are not. They both are EUC-KR (or maybe the equivalent windows encoding) and this results in the garbled name that gets saved.You can try it out by URL-decoding the URL in a capable text editor and then changing (not converting) the encoding of the resulting URL from UTF-8 to EUC-KR and you will see that this fixes the name issue. IMHO something the page itself needs to change.
-
It's hard to find where to click. Did you download the file, @QuHno? I did just to kill time.
The *smi file: Unicode UTF-LE16
"Broken file name only on download dialog, not on the file content is not a big deal. Perfectionism, perhaps.@hepaticboy Can you confirm if the file is downloaded as you expected?
-
@lamarca I confirmed VB-44899 in the BTS.
-
So do I on Linux.
-
@gwen-dragon For me, only Vivaldi has problem. I tried FF 62.0.3 and Chromium 69.0.3497.100 and both of them were fine. In your case, only Vivaldi was fine?
@lamarca What is 'it'? I just want the file name is correct. "¾Æ¿ÀºÎŸ+1È_.smi" is not correct and "아오부타+1화.smi" is correct. Inside of the file is OK with every browser I tested.
@QuHno Yeah, I also thought about the encoding and the page itself has a problem. I don't know why but encoding tag is removed now. Even though the site has a problem, in my case, excepting Vivaldi, FF and Chromium are fine. I hope Vivaldi can handle this.
@lamarca The file is downloaded as I expected just without the file name. The content is fine.
-
@hepaticboy said in Broken file name when downloading:
The file is downloaded as I expected just without the file name. The content is fine.
Thanks.
@hepaticboy said in Broken file name when downloading:
What is 'it'? I just want the file name is correct. "¾Æ¿ÀºÎŸ+1È_.smi" is not correct and "아오부타+1화.smi" is correct. Inside of the file is OK with every browser I tested.
It's what the website is sending to you. Have you tried to send them a ticket? Now the incorrect file name does not affect the file.
-
@lamarca I still don't know what is 'it'. Sorry... I haven't tried a ticket.
"Now the incorrect file name does not affect the file." What is this mean? The content was always fine whether the file name is correct or not. -
@hepaticboy said in Broken file name when downloading:
The content was always fine whether the file name is correct or not.
The "Broken file name" happens in the Firefox.
Please, send a ticket to the Website and let them know the issue you are having. In case you have Chrome, the site bug will replicate.Keep in Touch
-
@lamarca That's interesting. Now I find the reason why it is broken. I was using Vivaldi with English. After changing it to Korean, it's not broken. Chromium is same as Vivaldi. However, FF is English and shows not broken file name. Maybe it considers the language of the OS.
Thank you everyone.
-
@hepaticboy Thanks for the feedback, your bug was confirmed. My UI is in English, and the file name is like this ¾Æ¿ÀºÎŸ+1È_.smi
-
@lamarca So, it can be fixed even though we use Vivaldi with English?
-
@hepaticboy Indeed. Switched to Korean UI, see
아오부타+1화.smi
. I will tag the topic as resolved. -
@hepaticboy said in Broken file name when downloading:
@lamarca So, it can be fixed even though we use Vivaldi with English?
That depends on the Website. Is the file name correct?
-
@lamarca With Korean UI, it's OK. Yes, it's correct.