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

The Chinese file name is automatically changed to pinyin,I want a Chinese name #334

Open
lzcdhub opened this issue Nov 17, 2023 · 2 comments

Comments

@lzcdhub
Copy link

lzcdhub commented Nov 17, 2023

How do I set it up

@lzcdhub lzcdhub changed the title The Chinese file name is automatically changed to pinyin, I want the Chinese name The Chinese file name is automatically changed to pinyin,I want a Chinese name Nov 17, 2023
@frasmage
Copy link
Collaborator

Apologies, I don't understand the question. Can you please explain how to reproduce your scenario with expected and actual outcomes?

@Yoruchiaki
Copy link

Yoruchiaki commented Apr 22, 2024

Apologies, I don't understand the question. Can you please explain how to reproduce your scenario with expected and actual outcomes?

The user wants to convey the following message:
Assuming there is an image file named "example.jpg", using
MediaUploader::fromSource("/example.jpg")->useFilename("中文")->upload();
because
$this->filename = File::sanitizeFilename($filename);
will modify Chinese characters to other characters.



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants