Edgewall Software

Changes between Initial Version and Version 4 of Ticket #184

Show
Ignore:
Timestamp:
04/08/08 21:51:56 (6 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'.