Hi Martin,

I have still not received any feedback from you with regards to this
topic. Any updates about this?

In the meanwhile, I've been digging some more and for further
references, Microsoft documentation [1] states:

" /ulCpid:/ The code page
<http://msdn.microsoft.com/en-us/library/cc232151.aspx#code_page> in
which text data is sent. If the Unicode
<http://msdn.microsoft.com/en-us/library/cc232144.aspx#unicode> format
is not requested by the client on subsequent calls that use this Session
Context, the /ulCpid/ parameter sets the code page to be used in
subsequent calls."


This is what we fails to honor right now and may be the root of the issue.

[1] http://msdn.microsoft.com/en-us/library/ee200938(v=exchg.80).aspx

Cheers,
julien.

On 22/05/14 14:40, Julien Kerihuel wrote:
> Hi Martin,
>
> It is a bug we have already identified in OpenChange some months ago,
> but it is tricky to address a long term fix right now.
>
> The root cause of the issue lies in the statically and implicit
> encoding/decoding of strings from/to utf8 while Outlook expects a
> different codepage to be used. One way to work around this problem can
> be the usage of raw8string which prevent iconv from doing any
> conversion, but it may have some side effects. Outlook also specifies
> the encoding in which it expects to receive strings, but this happens at
> a higher layer which is not propagated down the the lowest one.
> Furthermore, there may also be additional roots of this problem in SOGo
> which fails to save the encoding properly when receiving external emails.
>
> Next steps:
>     1. can you send me a wireshark capture (non-encrypted) so I can
> inspect the data flow involving this problem?
>     2. if I provide you a patch, do you have the environment to apply it
> and give me feedback (eventually additional captures on request?)
>
> I suggest we continue this discussion on the openchange devel
> mailing-list [1], so each list keeps the focus and information is
> dispatched properly.
>
> Br,
> Julien.
>
> [1] http://mailman.openchange.org/listinfo/devel
>
>
> On 19/05/14 09:53, Martin S(inský wrote:
>> Hi,
>> if I have mails in ISO8859-2, webmail or imap shows it ok, but Outlook
>> connected through openchange it shows bad. Mails in UTF8 shows Outlook
>> ok.
>> How to fix it, please?
>>
>> Regards,
>> Martin
>>
>
>
> _______________________________________________
> devel mailing list
> de...@lists.openchange.org
> http://mailman.openchange.org/listinfo/devel

-- 
Julien Kerihuel
j.kerih...@openchange.org
OpenChange Project Founder

Twitter: http://twitter.com/jkerihuel

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to