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

Regenerate all templates in unicode #836

Open
stephenbach opened this issue Oct 28, 2022 · 0 comments
Open

Regenerate all templates in unicode #836

stephenbach opened this issue Oct 28, 2022 · 0 comments

Comments

@stephenbach
Copy link
Member

@KhalidAlt made a great suggestion to change

yaml.dump(self.format_for_dump(), open(self.yaml_path, "w"))

to

yaml.dump(self.format_for_dump(), open(self.yaml_path, "w"), allow_unicode=True)

in templates.py so that the yaml files display as unicode (rather than the unicode code points). We should definitely do this, but we should do it when the corpus is relatively stable and we can regenerate (read and write) all the yaml as one commit.

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