deltron / veosan

2 stars 1 forks source link

UnicodeDecodeError on /provider/profile #4

Closed phiiil closed 12 years ago

phiiil commented 12 years ago

Exception:

File "templates/provider/profile.html", line 3, in top-level template code {% set active_page = "profile" %} UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

deltron commented 12 years ago

that's capital "a" accent-grave. Not sure where the problem comes from but it's probably not related to the template.

On Mon, Mar 26, 2012 at 8:52 AM, phiiil < reply@reply.github.com

wrote:

Exception:

File "templates/provider/profile.html", line 3, in top-level template code {% set active_page = "profile" %} UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)


Reply to this email directly or view it on GitHub: https://github.com/im-patient/cliksante/issues/4

deltron commented 12 years ago

Can't reproduce the error on localhost

deltron commented 12 years ago

There were some accents in the drop down lists for specialities in "util.py" -- I guess Google App Engine doesn't handle non-ascii characters in source files very well. I replaced with "eacute" and it seems to work now.

phiiil commented 12 years ago

Turn out this error was only present in Firefox. Now that I selected utf-8 in firefox as a character, I can't reproduce it. Even if I switch firefox's encoding.