Loading...
 
Skip to main content

Features / Usability


Double-byte Mail fails in Webmail

posts: 39 Japan

Hello - I wonder if anyone knows the answer to this?

In translating the language.php to Japanese, I tested webmail, and found that it does not handle Japanese "kanji" characters. Is there anyway to fix this?

Thank you dev's for your continual hard work.

Kind regards
Rick

posts: 2881 United Kingdom

Hiya Rick,

Can you give me some more details as to where to start looking, what areas dont like the characters? for example.

Thanks Muchly

Damian


posts: 39 Japan

Thank you Damian 😀 - it's the subject and the body of the mail, and the character set I suppose. If the character set were set to japanese, and the body and subject were somehow converted so they handle the japanese character entities well, I think it would be no problem.

Some links:

  • mb functions with code that purportedly works

http://www.phpbuilder.com/tips/item.php?id=516

  • various multibyte function info including some short code:

http://www.imodeindia.com/linux/linux_show.asp?article_id=40

  • see the "mbstring" comments by one Japanese dev:

http://www.mail-archive.com/php-i18n@lists.php.net/msg00066.html

Could code be added to the mail library that does a CASE and says "if the site or user lang is = japanese, then do this other code here." Or however... ?

Best,
Rick

posts: 2881 United Kingdom


Ok, could be a little difficult for me to grasp without under the japanese characters. but is it similar to having the character set set to UTF-8?

> rcogley:
> Thank you Damian 😀 - it's the subject and the body of the mail, and the character set I suppose. If the character set were set to japanese, and the body and subject were somehow converted so they handle the japanese character entities well, I think it would be no problem.
>
> Some links:
>
> * mb functions with code that purportedly works
> http://www.phpbuilder.com/tips/item.php?id=516
>
> * various multibyte function info including some short code:
> http://www.imodeindia.com/linux/linux_show.asp?article_id=40
>
> * see the "mbstring" comments by one Japanese dev:
> http://www.mail-archive.com/php-i18n@lists.php.net/msg00066.html
>
> Could code be added to the mail library that does a CASE and says "if the site or user lang is = japanese, then do this other code here." Or however... ?
>
> Best,
> Rick
>


posts: 2881 United Kingdom


Ok, could be a little difficult for me to grasp without under the japanese characters. but is it similar to having the character set set to UTF-8?

> rcogley:
> Thank you Damian 😀 - it's the subject and the body of the mail, and the character set I suppose. If the character set were set to japanese, and the body and subject were somehow converted so they handle the japanese character entities well, I think it would be no problem.
>
> Some links:
>
> * mb functions with code that purportedly works
> http://www.phpbuilder.com/tips/item.php?id=516
>
> * various multibyte function info including some short code:
> http://www.imodeindia.com/linux/linux_show.asp?article_id=40
>
> * see the "mbstring" comments by one Japanese dev:
> http://www.mail-archive.com/php-i18n@lists.php.net/msg00066.html
>
> Could code be added to the mail library that does a CASE and says "if the site or user lang is = japanese, then do this other code here." Or however... ?
>
> Best,
> Rick
>