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

Encoding in python server pages #2

Closed
fionnb opened this issue Jan 22, 2018 · 1 comment
Closed

Encoding in python server pages #2

fionnb opened this issue Jan 22, 2018 · 1 comment

Comments

@fionnb
Copy link

fionnb commented Jan 22, 2018

It is impossible to use non-ASCII character encoding on python server pages because the PSP compiler does not add the required encoding declaration as required by http://python.org/dev/peps/pep-0263/ at the beginning of the compiled python files.

This restriction renders PSP useless for most foreign users. I suggest adding an encoding option string to Application.config which in turn gets written into the compiled PSP page files.

@fionnb
Copy link
Author

fionnb commented Jan 22, 2018

I seem to have a migration issue here. In newly created Appworkdirs, this option exists, already. Sorry for the noise.

@fionnb fionnb closed this as completed Jan 22, 2018
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