Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

file submission with foriegn language filenames causes unicode problems #11

Open
shadowbq opened this issue Mar 6, 2018 · 3 comments
Open

Comments

@shadowbq
Copy link
Owner

shadowbq commented Mar 6, 2018

No description provided.

@shadowbq shadowbq created this issue from a note in UNICODE compliant (To do) Mar 6, 2018
@shadowbq shadowbq added the bug label Mar 6, 2018
@shadowbq
Copy link
Owner Author

shadowbq commented Mar 6, 2018

Error submitting file to ATD:
'ascii' codec can't decode byte 0xd9 in position 43: ordinal not in range(128)
Error submitting file to ATD:
'ascii' codec can't decode byte 0xd9 in position 45: ordinal not in range(128)

@shadowbq
Copy link
Owner Author

shadowbq commented Mar 6, 2018

ratd/api/init.py

def upload_file(self, filetosubmit, vmprofile=1):
        [..]
payload = {"data": {"vmProfileList": vmprofile, "submitType": 0}, "amas_filename": self.get_filename(filetosubmit)}

@shadowbq
Copy link
Owner Author

lets look @UTF-8 and code.open

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

No branches or pull requests

1 participant