Hello,

We fight a lot some time ago with Jean to simulate various kind of
behaviour regarding encoding stuff.
This file format may be wrong I think. It is the uniq file encoded in
ISO-8859 among all test file.
But I don't remember if we did it on purpose or not (to test some latin-9
caracter in comments for example)...

By the way,  this test works for me at the moment, here is the expected
output on a utf-8 server :

[1341920100] h�h�
[1341920100] I love myself $£¤
[1341920100] ꀀabcd޴

Olivier

2012/7/9 Hartmut Goebel <h.goe...@goebel-consult.de>

> 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/
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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