• Frederik Kriewitz's avatar
    Fix render() encoding · 1a9d7416
    Frederik Kriewitz authored and Tomas Hlavacek's avatar Tomas Hlavacek committed
    
    
    Fixes exceptions like this:
    ERROR in CGI: Traceback (most recent call last):
      File "/var/www/html/ulg.py", line 785, in <module>
        handler.index(**params)
      File "/var/www/html/ulg.py", line 722, in index
        print self.renderULGIndex()
    UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in
    position 6254: ordinal not in range(128)
    
    Signed-off-by: Tomas Hlavacek's avatarTomas Hlavacek <tmshlvck@gmail.com>
    1a9d7416