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.22
[freeside.git]
/
rt
/
share
/
html
/
REST
/
1.0
/
Forms
/
ticket
/
comment
diff --git
a/rt/share/html/REST/1.0/Forms/ticket/comment
b/rt/share/html/REST/1.0/Forms/ticket/comment
index
934cbfb
..
41320ba
100755
(executable)
--- a/
rt/share/html/REST/1.0/Forms/ticket/comment
+++ b/
rt/share/html/REST/1.0/Forms/ticket/comment
@@
-91,8
+91,9
@@
my $ent = MIME::Entity->build(
'X-RT-Interface' => 'REST',
);
$ent->attach(
'X-RT-Interface' => 'REST',
);
$ent->attach(
- 'Content-Type' => $changes{'Content-Type'} || 'text/plain',
- Data => $changes{Text},
+ Type => $changes{'Content-Type'} || 'text/plain',
+ Charset => "UTF-8",
+ Data => Encode::encode("UTF-8", $changes{Text} ),
) if $changes{Text};
) if $changes{Text};