HTML richtext encoding detection
The chardet module used into the deserialize function (from htmltextbuffer.py) to detect the text encoding returns ISO-XXX[...] when adding an accented character.
The only way to make chardet detects that the text should be UTF-8 encoded is to have at least 4 accented character into the html text('é' for instance) declared as example into the htmltextbuffer.py.
For now, I force to use 'UTF-8' encoding to solve my problem.