https://bugs.kde.org/show_bug.cgi?id=269463

--- Comment #6 from Pali Rohár <pali.ro...@gmail.com> ---
I think we should use UTF-8 on all places.

Kopete::Message store message body in QString which is Unicode. Kopete plugins
should access messages in UTF-8 and if some Kopete protocol use different
encoding it should encode/decode Kopete::Messages itself in protocol code.

If OTR layer does not specify in which encoding should be messages we have two
options:

1) Allow user to configure encoding per contact (like ICQ protocol for ICQ
contacts)

2) Use UTF-8 which is widely used on lot of places

3) For incoming messages try UTF-8 decoder and if fails then fallback to Latin1

But I really suggest to use UTF-8 for both encoding and decoding.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to