# HG changeset patch # User paulb # Date 1202068834 0 # Node ID 10fae68798dd9f5dc8afeeed6506de98c674eb06 # Parent 4d146f48689104f3a87d40318bf49674b0349494 [project @ 2008-02-03 20:00:34 by paulb] Added an OpenID resource employing non-ASCII identifiers. diff -r 4d146f486891 -r 10fae68798dd examples/Common/OpenIDLogin/__init__.py --- a/examples/Common/OpenIDLogin/__init__.py Sun Feb 03 20:00:03 2008 +0000 +++ b/examples/Common/OpenIDLogin/__init__.py Sun Feb 03 20:00:34 2008 +0000 @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: iso-8859-1 -*- "An OpenID login example with some local user pages." @@ -20,6 +21,7 @@ # Local identifier, username, password ((app_url + "/badger", "badger"), "abc"), ((app_url + "/vole", "vole"), "xyz"), + ((app_url + u"/זרו", u"זרו"), u"ֶ״ֵ"), ) ) ), @@ -39,6 +41,19 @@ """ % (app_url, app_url), ContentType("text/html")), + u"זרו" : + StringResource(u""" + + + + + Home Page for זרו + + +

Home page for the OpenID authenticated user, זרו.

+ + + """ % (app_url, app_url), ContentType("text/html", "iso-8859-1")), "vole" : StringResource("""