Try utf-8 first when decoding text
There is a chance that utf-8 encoded text may be decoded
successfully but wrongly as ascii. UTF-8 instead should always be
able to decode ascii successfully, so let's try UTF-8 first.
Fixes: #211
Signed-off-by: NAndrea Frittoli <andrea.frittoli@gmail.com>
Showing
想要评论请 注册 或 登录