Hi,

The windows-1256 wont work as that is specific to microsoft windows only not 
your standard encoding in the earlier email he had shown en-US.utf8 which is 
not Arabic encoding on centos.

Regards,
Jonathan

From: users-requ...@sogo.nu <users-requ...@sogo.nu> On Behalf Of "Christian M. 
Jensen"
Sent: 10 July 2019 18:11
To: users@sogo.nu
Subject: Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work


Hi.

Just tested a bit and can confirm this is an issue, and i think the problem is 
that SOGo has no rules for charset windows-1256 like for others as seen here.

https://github.com/inverse-inc/sogo/blob/60247e83e7da798bb7292521694812a6ea12ff0f/UI/MailPartViewers/UIxMailPartHTMLViewer.m#L82-L85

My suggesting is that you add this '{ @"windows-1256", 
XML_CHAR_ENCODING_ERROR},'  to UIxMailPartHTMLViewer.m between line 82/85 and 
compile SOGo to see if that helps, and report back.

Now this just a suggestion not tested so can't say if it will work. The reason 
i think this is where the issue resides, is as you can see by the image, title 
is fine but body is not, and the body part of the mail "look like" it parses 
through that method.

[cid:image001.png@01D5374E.8652AE80]



That's just my suggestion, hope you figure out what the root cause is.

--

Hilsen/Regards

Christian M. Jensen


On 10-07-2019 12:18, Eslam Basyouni 
(eslam.basyo...@yahoo.com<mailto:eslam.basyo...@yahoo.com>) wrote:
if you mean from where i'm open the SOGo web , there is no different , where i 
tested opening SOGo URL from Linux PC and from Windows PC and the same issue

and if you or any one want to test with me do the following :

1- Send Email from Hotmail.com or outlook.com to your email on SOGo with Arabic 
like this    مرحبا... كيف الحال
2- open this mail from SOGo web and open the same mail from Thunderbird or out 
look and you will see how this mail will appear


thank you for your reply




On Tuesday, July 9, 2019, 09:56:17 PM GMT+2, Jonathan Aquilina 
<users@sogo.nu><mailto:users@sogo.nu> wrote:



A quick question are you running sogo on windows or on linux?



Regards,

Jonathan



From: <users-requ...@sogo.nu><mailto:users-requ...@sogo.nu> on behalf of Eslam 
Basyouni <users@sogo.nu><mailto:users@sogo.nu>
Reply to: "users@sogo.nu"<mailto:users@sogo.nu> 
<users@sogo.nu><mailto:users@sogo.nu>
Date: Tuesday, 9 July 2019 at 20:54
To: "users@sogo.nu"<mailto:users@sogo.nu> 
<users@sogo.nu><mailto:users@sogo.nu>, "users@sogo.nu"<mailto:users@sogo.nu> 
<users@sogo.nu><mailto:users@sogo.nu>
Subject: Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work



Thank you for your reply... Why when you send mail to yahoo or gmail from 
Microsoft there is no problem with encoding but only sogo that have the 
problem... I think sogo have problem with encoding



I hope if we get any help where most of my emails in arabic.. And by the way if 
i open this email from thunderbird or outlook there is no problem i can see 
them with right encoding...





Sent from Yahoo Mail on 
Android<https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>



On Tue, Jul 9, 2019 at 7:20 PM, Jonathan Aquilina

<users@sogo.nu><mailto:users@sogo.nu> wrote:

Im not a sogo expert but all I know is Microsoft have their own unique 
encodings for windows that are not compatible with standard encodings that one 
would find on linux or mac system.



Regards,

Jonathan



From: <users-requ...@sogo.nu><mailto:users-requ...@sogo.nu> on behalf of Eslam 
Basyouni <users@sogo.nu><mailto:users@sogo.nu>
Reply to: "users@sogo.nu"<mailto:users@sogo.nu> 
<users@sogo.nu><mailto:users@sogo.nu>
Date: Monday, 8 July 2019 at 15:10
To: "users@sogo.nu"<mailto:users@sogo.nu> <users@sogo.nu><mailto:users@sogo.nu>
Subject: Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work



I got workaround to temporary read by forward the message, in this case i can 
see it, but we need to fix this bug...

Eng Ludovic , Francis, any chance of solving this issue , or any idea for 
workaround?











On Monday, July 8, 2019, 02:54:38 PM GMT+2, Mohammed Qanadelo 
<users@sogo.nu><mailto:users@sogo.nu> wrote:





Dear all

i have the same problem with arabic language in sogo

any solution's ?

On 2019-07-07 10:35, Eslam Basyouni wrote:



Dears,





first of all i apologize the Arabic  encoding for (Windows-12356)  not for 
Arabic (Windows-12256)  , anyway i discovered that the only emails that come 
from Microsoft is only have this problem and all other is good like yahoo or 
gmail and any other have this problem, where ihad test with my exchange server 
and hostmail.com and outlook.com and they have this problem









On Sunday, July 7, 2019, 05:08:59 AM GMT+2, Eslam Basyouni 
<users@sogo.nu><mailto:users@sogo.nu> wrote:







Dears,



i have  some emails in Arabic and it send from Exchange outlook to my email in 
sogo but it's contain bad character which it's not belong to Arabic , i think 
it's something related to encoding because i had send the same message from 
outlook after i change the encoding of outlook from Arabic (windows) to UTF-8 
and i send again and there is no problem so  kindly  Advise..



Error! Filename not specified.

Error! Filename not specified.



--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists

--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists



--

Eng. Mohammed A. Qanadelo



Systems Development Department - GCC



Ministry of Telecomm. & Information Technology

--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists

--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists

--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists

--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists
--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists
--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists
--
users@sogo.nu<mailto:users@sogo.nu>
https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to