diff options
-rwxr-xr-x | attachment.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/attachment.cgi b/attachment.cgi index 40b0c9d3a..e4761a805 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -502,6 +502,7 @@ sub insert { # Get the filehandle of the attachment. my $data_fh = $cgi->upload('data'); my $attach_text = $cgi->param('attach_text'); + utf8::encode($attach_text) if $attach_text; my $attachment = Bugzilla::Attachment->create( {bug => $bug, |