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

Drag and drop to import files with non-ascll characters in the name of the file name missing the extension 拖拽导入文件名含非ascll字符文件时丢失扩展名的错误 #5298

Open
YanYiGe2023 opened this issue Sep 16, 2024 · 3 comments

Comments

@YanYiGe2023
Copy link

当我尝试将文件名含有中文的文件通过拖拽的方式导入到手机时,我奇怪的发现文件扩展名消失了
When I tried to import a file with a file name in Chinese to my phone by dragging and dropping, I was surprised to find that the file extension disappeared
屏幕截图 2024-09-16 213632
我认为这不可能,于是我尝试去掉中文
I thought it wasn't possible, so I tried to get rid of Chinese
屏幕截图 2024-09-16 213846
这样就可以了
That's it
似乎scrcpy对非ASCLL字符的支持并不好(也可能是adb的问题)

logs:
It seems that scrcpy's support for non-ASCLL characters isn't good (and it could also be an issue with adb)
C:\Users\ZhuanZ\Pictures\Screenshots\测试 test.png: 1 file pushed, 0 skipped. 49.0 MB/s (36171 bytes in 0.001s) INFO: C:\Users\ZhuanZ\Pictures\Screenshots\娴嬭瘯 test.png successfully pushed to /sdcard/Download/ INFO: Request to push C:\Users\ZhuanZ\Pictures\Screenshots\test.png INFO: Pushing C:\Users\ZhuanZ\Pictures\Screenshots\test.png... C:\Users\ZhuanZ\Pictures\Screenshots\test.png: 1 file pushed, 0 skipped. 51.2 MB/s (36171 bytes in 0.001s) INFO: C:\Users\ZhuanZ\Pictures\Screenshots\test.png successfully pushed to /sdcard/Download/

scrcpy verison:2.7
Windows11x64 23H2

@rom1v
Copy link
Collaborator

rom1v commented Sep 16, 2024

Duplicate of #2184.

Can you reproduce with adb alone (without scrcpy)?

adb push yourlocalfile /sdcard/Download/

@YanYiGe2023
Copy link
Author

#2184 的副本。

您可以单独使用 adb 进行复制(没有 scrcpy)吗?

adb push yourlocalfile /sdcard/Download/

屏幕截图 2024-09-16 215111
很可惜,这是Google的问题

@YanYiGe2023
Copy link
Author

Duplicate of #2184.

Can you reproduce with adb alone (without scrcpy)?

adb push yourlocalfile /sdcard/Download/

但我可以手动指定文件名
But I can specify the file name manually
屏幕截图 2024-09-16 215420

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

2 participants