Download
Desenvolver
Conta
Download
Desenvolver
Login
Forgot Account/Password
Criar Conta
Linguagem
Ajuda
Linguagem
Ajuda
×
Login
Nome de acesso
Senha
×
Forgot Account/Password
Estado tradução de Português
Category:
Software
People
PersonalForge
Magazine
Wiki
Pesquisa
OSDN
>
Pesquisar Software
>
Communications
>
Email
>
Email Clients (MUA)
>
RoundCube Webmail日本語化プロジェクト
>
Ticket List/Search
>
Tíquete #8697
RoundCube Webmail日本語化プロジェクト
Descrição
Project Summary
Developer Dashboard
Página da Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Histórico
Downloads
List of Releases
Stats
Tíquete
Ticket List
Milestone List
Type List
Lista de componentes
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
list of ML
News
Tíquete #8697
Ticket List
Submit New Ticket
RSS
漢字名の添付ファイルの不具合
:
2006-07-22 10:54
Última Atualização:
2006-07-22 10:54
monitor
ON
OFF
Relator:
world
Dono:
(Nenhum)
Tipo:
Bugs
Estado:
Aberto
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum
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
Adicionar Comentário
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Adicionar Comentário
Pré-visualizar
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);
に修正するとうまくいくようです。