-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Japanese text coded in GB2312 are garbled. #4282
Comments
Try to send a sample EML file to [email protected] |
Is it decoded correctly when viewing it in your mail provider's client outside of FreeScout? |
Thunderbird decoded correctly on same mail. |
Try to add the following code to the line 755 in https://github.com/freescout-help-desk/freescout/blob/dist/overrides/webklex/php-imap/src/Message.php#L755
After that try to do this: https://github.com/freescout-help-desk/freescout/wiki/Fetching-Emails#checking-eml-file |
Thank you. |
Hi, By the way |
Hi.
I got garbled mail that coded in GB2312 included Japanese text in it.
my freescout version is 1.8.115 PHP 8.1.2
and NEW_FETCHING_LIBRARY is false
I could not reproduce this type of email by myself so it difficult to debug this.
I would appreciate if this problem will be fixed.
1,How it looks when garbled.(second sentence of body text)
2,How it should look.
3.How it looks in the original code of the email(excerpted from mail source)
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
=A4=A4=A4=C4=A4=E2=A4=AA=CA=C0=D4=92=A4=CB=A4=CA=A4=C3=A4=C6=A4=AA=A4=EA=A4=
=DE=A4=B9=A1=A3
=D3=F9=D2=8A=B7e=A4=AA=EE=8A=A4=A4=D6=C2=A4=B7=A4=DE=A4=B9=A1=A3
In addition to this. mail subject is also encoded in GB2312 but it looks decoded correctly.
The text was updated successfully, but these errors were encountered: