Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
109.63k stars 10.53k forks source link

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 1 week ago

YanYiGe2023 commented 1 week ago

当我尝试将文件名含有中文的文件通过拖拽的方式导入到手机时,我奇怪的发现文件扩展名消失了 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 commented 1 week ago

Duplicate of #2184.

Can you reproduce with adb alone (without scrcpy)?

adb push yourlocalfile /sdcard/Download/
YanYiGe2023 commented 1 week ago

2184 的副本。

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

adb push yourlocalfile /sdcard/Download/

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

YanYiGe2023 commented 1 week ago

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