1.1 --- a/examples/ModPython/CandidateApp/CandidateHandler.py Mon Jan 30 22:10:12 2006 +0000
1.2 +++ b/examples/ModPython/CandidateApp/CandidateHandler.py Mon Jan 30 22:10:22 2006 +0000
1.3 @@ -12,8 +12,9 @@
1.4 import Candidate
1.5
1.6 # Get a simple Web site.
1.7 +# NOTE: Change the filesystem encoding if appropriate.
1.8
1.9 -resource = Candidate.get_site()
1.10 +resource = Candidate.get_site("iso-8859-15")
1.11
1.12 # NOTE: Not sure if the resource should be maintained in a resource pool.
1.13
2.1 --- a/examples/Twisted/CandidateApp.py Mon Jan 30 22:10:12 2006 +0000
2.2 +++ b/examples/Twisted/CandidateApp.py Mon Jan 30 22:10:22 2006 +0000
2.3 @@ -4,8 +4,9 @@
2.4 import Candidate
2.5
2.6 # Get a simple Web site.
2.7 +# NOTE: Change the filesystem encoding if appropriate.
2.8
2.9 -resource = Candidate.get_site()
2.10 +resource = Candidate.get_site("iso-8859-15")
2.11
2.12 # Special magic incantation.
2.13