Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #233 (closed defect: invalid)

Opened 13 years ago

Last modified 12 years ago

Comment on docs/wiki20/page3.html

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

Quote:

Go ahead and try it out! You can make changes 
and save the page we were editing.

But after saving a text with an umlaut, you can't edit the text again:

500 Internal error

Server got itself in trouble

Traceback (most recent call last):
  File "d:\python24\lib\site-packages\CherryPy-2.1.0-py2.4.egg\cherrypy\_cphttptools.py", line 271, in run
    main()
  File "d:\python24\lib\site-packages\CherryPy-2.1.0-py2.4.egg\cherrypy\_cphttptools.py", line 502, in main
    body = page_handler(*args, **cherrypy.request.paramMap)
  File "d:\python24\lib\site-packages\TurboGears-0.8a5-py2.4.egg\turbogears\controllers.py", line 122, in newfunc
    return controllers._process_output(tg_format, output, html)
  File "d:\python24\lib\site-packages\TurboGears-0.8a5-py2.4.egg\turbogears\controllers.py", line 38, in _process_output
    output = view.render(output, tg_format, template=template)
  File "d:\python24\lib\site-packages\TurboGears-0.8a5-py2.4.egg\turbogears\view.py", line 99, in render
    return t.serialize(encoding="utf-8", output=format, fragment=fragment)
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\__init__.py", line 232, in serialize
    return serializer.serialize(self, encoding, fragment)
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\serialization.py", line 51, in serialize
    text = list(self.generate(stream, encoding, fragment))
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\serialization.py", line 319, in generate
    for ev, item in self.apply_filters(stream):
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\serialization.py", line 77, in balancing_filter
    for ev, item in stream:
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 203, in _coalesce
    for ev, item in stream:
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\filter.py", line 21, in transform_filter
    for ev, item in apply_matches(stream, template, templates, apply_func):
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\filter.py", line 31, in apply_matches
    item = stream.expand()
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 95, in expand
    for ev, item in self._iter:
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 164, in _track
    for p in stream:
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 211, in _coalesce
    text += to_unicode(value, encoding)
  File "d:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 187, in to_unicode
    return unicode(value, encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Change History

comment:1 Changed 13 years ago by SuperJared <jared.kuolt@…>

  • Status changed from new to closed
  • Resolution set to invalid

You need to set the correct encoding.

Note: See TracTickets for help on using tickets.