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

How to accept special chars in text fields, sp. Long Description? #29

Open
ckingbailey opened this issue Apr 2, 2020 · 1 comment
Open

Comments

@ckingbailey
Copy link
Owner

ckingbailey commented Apr 2, 2020

To commit new content with the GitHub API, the content must be base64-encoded. Non-ASCII characters will cause window.btoa() to throw InvalidCharacterError.

Users will try to use special characters in text fields, especially in long from writing like in Long Description. Should we make the validator disallow non-ASCII characters? Or is there a way to encoded non-ASCII characters and have them still be properly parsed by whatever program is reading the produced YAML file?

@plocket
Copy link
Collaborator

plocket commented Apr 15, 2020

I propose for the MVP we disallow non ASCII characters.

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

2 participants