-
Notifications
You must be signed in to change notification settings - Fork 830
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
Garbled characters when upload a file with Japanese characters in its name to Discovery #571
Comments
Thanks a lot for filing this issue! We'll triage and take a look at it as soon as possible! Do you have a file that we can use for testing? |
this is file use for test. thanks |
@thetime1102 Can you try updating the SDK to |
@germanattanasio I tried and nothing more change. When I debug request function in SDK and edit the
The issue is fixed. |
@ehdsouza It looks like we are encoding something with |
This could be related psf/requests#4218 (comment) |
Thanks for help. |
After looking into the details, it looks like the file is encoded properly using RFC 2231 standards.
I created an issue internally for the discovery team to look into the server side. |
@ehdsouza can you follow up with the discovery team to see if they fixed this issue? |
This is still not fixed from the service side. |
We are still waiting for @watson-developer-cloud/watson-discovery to fix the issue @thetime1102. Sorry for the delay. |
This issue may still be present although new testing is necessary to ensure this is resolved. I will conduct an investigation next week and report findings here |
This issue has been tested to be resolved in the latest version of the python-sdk (5.2.0) and the latest api version of Discovery V1 (2019-04-30). Closing as resolved |
OMG! Thank you so much!!!! |
Expected behavior
Upload a file with Japanese characters in its name
ex:
before upload: 日本語.json
after upload: 日本語.json
Actual behavior
Uploaded file name have garbled characters
ex:
before upload: 日本語.json
after upload: ����.json
Steps to reproduce the problem
Using discovery upload document method
Code snippet (Note: Do not paste your credentials)
python sdk version
python version
The text was updated successfully, but these errors were encountered: