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

Improve encoding robustness #11

Open
Lykos153 opened this issue Jan 12, 2019 · 0 comments
Open

Improve encoding robustness #11

Lykos153 opened this issue Jan 12, 2019 · 0 comments

Comments

@Lykos153
Copy link
Owner

AnnexRemote is currently relying on the standard encoding, which is ASCII for Python2 and (probably) UTF-8 for Pyhon3.

A robust external special remote shouldn't assume any particular character encoding, either.

Lines will be terminated with '\n' (0xA), and words in lines are delimited by an ascii space (0x20). The keywords in the protocol are ascii too of course. Any values can contain an arbitrary sequence of bytes that may or may not be able to be decoded using the current character encoding.

http://git-annex.branchable.com/design/external_special_remote_protocol/#comment-e3242305ec1a8ec81995f25e4454b455

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

1 participant