Hi,

when refactoring test_utf8_log.py I always get encoding errors:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position
1253: invalid continuation byte

The relevant line is:

        sutf = 'h\351h\351'

where '\351' is a single character (octal 351 == int 233 == hex e9). In
Latin-1, e9 is small letter e with accute.

What is the intention of this line? What should be tested?

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP

Goebel Consult
http://www.goebel-consult.de

Monatliche Kolumne:
http://www.cissp-gefluester.de/2011-08-horrorszenario-bring-your-own-device
Blog: http://www.goebel-consult.de/blog/20050707

Goebel Consult ist Mitglied bei http://www.7-it.de/


Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to