Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Communications
>
Email
>
Email Clients (MUA)
>
RoundCube Webmail日本語化プロジェクト
>
Ticket List/Search
>
Incidencia #8697
RoundCube Webmail日本語化プロジェクト
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
list of ML
Noticias
Incidencia #8697
Ticket List
Submit New Ticket
RSS
漢字名の添付ファイルの不具合
Abrir Fecha:
2006-07-22 10:54
Última actualización:
2006-07-22 10:54
monitor
ON
OFF
Informador:
world
Propietario:
(Ninguno)
Tipo:
Bugs
Estado:
Open
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno
Details
Responder
roundcubemail-ja-20060411について
日本語名の添付ファイル名のダウンロード時に文字化けする。
program/steps/mail/get.inc
72行目
$filename = $part->d_parameters['filename'] ? $part-
>d_parameters['filename'] : $part->ctype_parameters
['name'];
の次に
$filename = decode_mime_string($filename);
$filename = mb_convert_encoding($filename, "SJIS");
を追加すると、日本語名の添付ファイルが正しい名前でダウンロ
ードできます。
日本語名の添付ファイルをアップロード後、添付ファイル名が文
字化けする。
program/steps/mail/upload.inc
55行目
<html>
の次に
<META http-equiv="Content-Type" content="text/html;
charset=UTF-8">
を追加すると解消されます。
日本語名の添付ファイルが受信側で文字化けする。
program/steps/mail/sendmail.inc
182行
$MAIL_MIME->addAttachment($attachment['path'],
$attachment['mimetype'], $attachment['name'], TRUE);
を
$MAIL_MIME->addAttachment($attachment['path'],
$attachment['mimetype'], mb_encode_mimeheader
($attachment['name'], $message_charset), TRUE);
に修正、
188行
$MAIL_MIME->addAttachment($filepath, $files['type']
[$i], $files['name'][$i], TRUE);
を
$MAIL_MIME->addAttachment($filepath, $files['type']
[$i], mb_encode_mimeheader($files['name'][$i],
$message_charset), TRUE);
に修正するとうまくいくようです。
Ticket History (0/0 Histories)
Attachment File List (
0
)
Attachment File List
No attachments
Editar
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Entrar
Add Comment
Vista previa
Submit
日本語名の添付ファイル名のダウンロード時に文字化けする。
program/steps/mail/get.inc
72行目
$filename = $part->d_parameters['filename'] ? $part-
>d_parameters['filename'] : $part->ctype_parameters
['name'];
の次に
$filename = decode_mime_string($filename);
$filename = mb_convert_encoding($filename, "SJIS");
を追加すると、日本語名の添付ファイルが正しい名前でダウンロ
ードできます。
日本語名の添付ファイルをアップロード後、添付ファイル名が文
字化けする。
program/steps/mail/upload.inc
55行目
<html>
の次に
<META http-equiv="Content-Type" content="text/html;
charset=UTF-8">
を追加すると解消されます。
日本語名の添付ファイルが受信側で文字化けする。
program/steps/mail/sendmail.inc
182行
$MAIL_MIME->addAttachment($attachment['path'],
$attachment['mimetype'], $attachment['name'], TRUE);
を
$MAIL_MIME->addAttachment($attachment['path'],
$attachment['mimetype'], mb_encode_mimeheader
($attachment['name'], $message_charset), TRUE);
に修正、
188行
$MAIL_MIME->addAttachment($filepath, $files['type']
[$i], $files['name'][$i], TRUE);
を
$MAIL_MIME->addAttachment($filepath, $files['type']
[$i], mb_encode_mimeheader($files['name'][$i],
$message_charset), TRUE);
に修正するとうまくいくようです。