Hello,
I am Yano, a user of roundcube at my home in Japan.
Some Japanese characters are not shown as expected while mail clients (ex. ThunderBird) can show them as expected.
I found the reason and a way to fix it.
The mails in ISO-2022-JP encoding can include characters not in ISO-2022-JP.
These characters are included in the encoding ISO-2022-JP-MS.
I modified program/lib/Roundcube/rcube_charset.php:
line 235:
if ($mbstring_list !== false) {
$aliases['WINDOWS-1257'] = 'ISO-8859-13';
+ $aliases['JIS'] = 'ISO-2022-JP-MS';
+ $aliases['ISO-2022-JP'] = 'ISO-2022-JP-MS';
+ $aliases['EUC-JP'] = 'EUCJP-WIN';
+ $aliases['SJIS'] = 'SJIS-WIN';
+ $aliases['SHIFT_JIS'] = 'SJIS-WIN';
I add the lines with + marks after line 236. I am using roundcube 1.1.4.