projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.0.23
[freeside.git]
/
rt
/
share
/
html
/
REST
/
1.0
/
Forms
/
ticket
/
default
diff --git
a/rt/share/html/REST/1.0/Forms/ticket/default
b/rt/share/html/REST/1.0/Forms/ticket/default
index
2a0c7ef
..
a546af7
100755
(executable)
--- a/
rt/share/html/REST/1.0/Forms/ticket/default
+++ b/
rt/share/html/REST/1.0/Forms/ticket/default
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-191,13
+191,14
@@
else {
$v{MIMEObj} =
MIME::Entity->build(
Type => "multipart/mixed",
$v{MIMEObj} =
MIME::Entity->build(
Type => "multipart/mixed",
- From =>
$session{CurrentUser}->EmailAddress
,
- Subject =>
$v{Subject}
,
+ From =>
Encode::encode( "UTF-8", $session{CurrentUser}->EmailAddress )
,
+ Subject =>
Encode::encode( "UTF-8", $v{Subject})
,
'X-RT-Interface' => 'REST',
);
$v{MIMEObj}->attach(
'X-RT-Interface' => 'REST',
);
$v{MIMEObj}->attach(
- Data => $text,
- 'Content-Type' => $v{'Content-Type'} || 'text/plain',
+ Type => $v{'Content-Type'} || 'text/plain',
+ Charset => "UTF-8",
+ Data => Encode::encode( "UTF-8", $text ),
) if $text;
my ($status, $msg) = process_attachments($v{'MIMEObj'}, @atts);
unless ($status) {
) if $text;
my ($status, $msg) = process_attachments($v{'MIMEObj'}, @atts);
unless ($status) {