Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can't download PDF file if file name in Chinese character set #2089

Open
1 task done
imbennie opened this issue Nov 4, 2024 · 3 comments
Open
1 task done
Assignees
Labels
bug Something isn't working needs triage Issues that need to be triaged v4 Issues related to the latest version

Comments

@imbennie
Copy link

imbennie commented Nov 4, 2024

Is there an existing issue for this?

  • Yes, I have searched the existing issues and none of them match my problem.

Product Variant

Cloud (https://rxresu.me)

Current Behavior

After testing, I can't download a PDF file if the filename is in the Chinese character set(just opened a about:blank page of the browser tab), but I can download it if the filename is in English.

BTW: The JSON file download request is processed normally.

Expected Behavior

Supports a wide range of character sets

Steps To Reproduce

No response

What browsers are you seeing the problem on?

No response

What template are you using?

None

Anything else?

No response

@imbennie imbennie added bug Something isn't working needs triage Issues that need to be triaged v4 Issues related to the latest version labels Nov 4, 2024
@oswaldom-code
Copy link

I want to confirm that I am experiencing the same issue, but with files whose names contain Spanish characters (accents, ñ, etc.). When I try to download the file, the browser simply shows a blank page (about:blank), and the file doesn't download correctly.

However, if the filename is in English (without special characters), the download works fine. In my case, downloading JSON files works without any issues, just like in the original report.

It seems like the problem is related to how special characters (non-ASCII) are being handled in the filenames. Is there any solution or update available for this?

Thanks in advance.
@imbennie @AmruthPillai

@ibrvimv
Copy link

ibrvimv commented Nov 13, 2024

I am also experiencing this with russian letters, any solutions?
Thanks

@imbennie
Copy link
Author

I am also experiencing this with russian letters, any solutions? Thanks

Rename the filename with English characters so it will be download to your computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Issues that need to be triaged v4 Issues related to the latest version
Projects
None yet
Development

No branches or pull requests

4 participants