X-Git-Url: http://git.uio.no/git/?p=usit-rt.git;a=blobdiff_plain;f=local%2Fhtml%2FTicket%2FExport.html;h=c7fb8d89e73ef9b3ce21e50a2b69c870fd88df87;hp=acb87229018bba73f7a367bffa1877ebe0723819;hb=5284eea410a858cf4606201d2d736524350a1721;hpb=84fb5b46b6d278400211552181bac9e6def7d09d
diff --git a/local/html/Ticket/Export.html b/local/html/Ticket/Export.html
index acb8722..c7fb8d8 100644
--- a/local/html/Ticket/Export.html
+++ b/local/html/Ticket/Export.html
@@ -6,16 +6,12 @@
<& /Elements/Tabs &>
%## The html with %-prefixed perl code.
-
+
+
Ticket to export
-Ny funksjonalitet utvikla av USIT - for meir info:
-
Sjå her
-
-Send eventuelle kommentarar og feil/manglar til rt-drift@usit.uio.no.
-
+
+
<%ARGS>
$id => undef
@@ -55,6 +53,7 @@ unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
# used to convert html-formated email -> plain text for the body.
use HTML::Parse;
use HTML::FormatText;
+use Encode;
my $formater = HTML::FormatText->new(leftmargin => 0, rightmargin => 75);
# using buildtin methods to get the attachments - all nice and cronological.
@@ -145,7 +144,7 @@ if ($email){
my $mail = MIME::Entity->build(
Type => 'text/plain',
Charset => 'utf-8',
- Data => $mail_head."\n".$mail,
+ Data => encode("utf8", $mail_head."\n".$mail),
);
$mail->head->set(To=>RT::Interface::Email::EncodeToMIME(String => $email));