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

Push file failed #86

Closed
scottchejin opened this issue Nov 21, 2017 · 3 comments
Closed

Push file failed #86

scottchejin opened this issue Nov 21, 2017 · 3 comments

Comments

@scottchejin
Copy link

I use push() to push a file to device. If the file name contains long Chinese chars, the name of the pushed file will be changed.
client.push(device.id, '/media/data/download/' + fileName, '/data/local/tmp/'+"明月几时有把酒问青天.doc" )
the file on the device will be named:明月几时有把

@sorccu
Copy link
Member

sorccu commented Nov 21, 2017

What’s your host OS?
What’s your OS’s charset?
What happens if you run adb push manually?

@scottchejin
Copy link
Author

OS: 4.10.0-38-generic #42~16.04.1-Ubuntu
OS's charset: en_US.UTF-8
The file upload successfully and the name is right when I run adb push manually.

@koral--
Copy link
Member

koral-- commented Mar 3, 2020

Fixed in #127

@koral-- koral-- closed this as completed Mar 3, 2020
pimterry pushed a commit to httptoolkit/adbkit that referenced this issue Dec 13, 2021
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.1 to 8.3.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](mochajs/mocha@v8.2.1...v8.3.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
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