Edgewall Software

Changes between Initial Version and Version 4 of Ticket #184


Ignore:
Timestamp:
Apr 8, 2008, 9:51:56 PM (16 years ago)
Author:
cmlenz
Comment:

I'm still thinking about whether to make UTF-8 the default, but this will have to wait for the next release.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #184

    • Property Milestone changed from 0.5 to 0.6
  • Ticket #184 – Description

    initial v4  
    33I am experiencing problems with strings containing non-ascii characters in the input.
    44
     5{{{
    56 --> parse stage: 20.0000 ms
    67Traceback (most recent call last):
     
    2425    text = unicode(text).replace('&', '&') \
    2526UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
     27}}}
    2628
    2729I attach a patch, which solves the problem for me, but fixes the assumed encoding to 'utf-8'.