Changeset 2339


Ignore:
Timestamp:
03/05/08 15:39:08 (12 years ago)
Author:
gabor
Message:

ref #1706 replace has generated errors for me, ignore seems safer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/livesearch_reply.py

    r2338 r2339  
    106106            display_title = full_title 
    107107        if not isinstance(full_title, unicode): 
    108             full_title = unicode(full_title, 'utf-8', 'replace') 
     108            full_title = unicode(full_title, 'utf-8', 'ignore') 
    109109        if not isinstance(display_title, unicode): 
    110             display_title = unicode(display_title, 'utf-8', 'replace') 
     110            display_title = unicode(display_title, 'utf-8', 'ignore') 
    111111 
    112112        print u'''<a href="%s" title="%s">%s</a>''' % (itemUrl, full_title, display_title) 
Note: See TracChangeset for help on using the changeset viewer.