--> -->
 
 
<type 'exceptions.UnicodeEncodeError'>
Python 2.5.2: /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
Thu Mar 28 16:43:01 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /Library/WebServer/Documents/etc/search.py in ()
  253 
  254 if __name__ == '__main__':
  255         html    =       main(q, author, page)
  256         # Uncomment the next line in order to generate a cached version of the search
  257         generate_cache_file(q, author, page, html)
html undefined, main = <function main at 0x16169f0>, q = u'Q\xa9t\xa7', author = u'', page = 1
 /Library/WebServer/Documents/etc/search.py in main(q=u'Q\xa9t\xa7', author=u'', page=1)
  104                 print "Content-Type: text/html"
  105                 print
  106                 print html.encode('utf-8') % parameters
  107                 exit(0)
  108         
html = u'<!DOCTYPE html>\n<html lang="nl">\n<head>\n\t<meta h...i></p>\n \t<br />\n </div>\n\n</div>\n</body>\n</html>', html.encode = <built-in method encode of unicode object at 0x13a5b78>, parameters = {u'script': u'', u'searchresults': u'', u'summary': u'<div class="grid_12">\nGeen documenten gevonden!\n</div>', u'title': u"'Q\xa9t\xa7'"}

<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xa9' in position 121: ordinal not in range(128)
      args = ('ascii', u'<!DOCTYPE html>\n<html lang="nl">\n<head>\n\t<meta h...i></p>\n \t<br />\n </div>\n\n</div>\n</body>\n</html>', 121, 122, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 122
      message = ''
      object = u'<!DOCTYPE html>\n<html lang="nl">\n<head>\n\t<meta h...i></p>\n \t<br />\n </div>\n\n</div>\n</body>\n</html>'
      reason = 'ordinal not in range(128)'
      start = 121