hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
250 stars 20 forks source link

Buddylist does not display proper status of contacts when JID contains unicode #204

Open m4lu opened 4 years ago

m4lu commented 4 years ago

I am not sure whether the experienced behavior is an 'error' in jackline or if this should rather be considered normal behavior (under the circumstances) - so please feel free to ignore it or consider this informational only.

If someone has a an other person in their buddy list and the JID of the buddy contains a unicode character while the persons system does not have proper unicode settings configured, I experience the following behavior:

Furthermore no chat can be initiated with that buddy.

hannesm commented 4 years ago

that is definitively a bug, which can likely be easily reproduced with the ascii (-a) flag, and should be investigated and fixed. considering that there may be multiple unicode-only jid in the roster, it may make sense to enumerate them instead of using ?...