[OTR-users] OTR proxy or OTR plugin with Miranda IM

Ian Goldberg ian at cypherpunks.ca
Wed Feb 8 11:29:00 EST 2006


On Wed, Feb 08, 2006 at 02:30:27PM +1100, Scott Ellis wrote:
> I've been told it does not work when one end is gaim and one end is miranda
> - i beleive i know why: gaim is all utf-8 internally, as is the otr library,
> and protocol plugins would need to translate this to the protocol's encoding
> when sending/receiving. Miranda (to put it very simply) uses utf-16
> internally. At present i convert the outgoing messages to utf-8 before
> passing them through the OTR library, then send them. On receive I do the
> reverse. Perhaps I should be converting the output from the OTR library back
> to utf-16 before passing the message on to the protocol plugin for sending -
> i will test this when i get a chance.

Could you check what the "charset" field in the OSCAR message is set to?
It's possible that it's set to UCS-2BE, when it should be ASCII (all
OTR-encoded messages are ASCII after being encrypted and base64-ified).

But I don't have a Windows box, so I can't test this theory.  Can
someone do a OSCAR protocol dump of what the Miranda OTR plugin is
outputting?

Thanks,

   - Ian



More information about the OTR-users mailing list