[rt-devel] improvements to request tracker..

Jesse jesse at fsck.com
Sat Aug 11 13:16:12 EDT 2001


I believe RT 2.0 handles all of this a _lot_ better. I'd be curious to know if it does the right thing for you.

        -j


On Sat, Aug 11, 2001 at 04:32:25PM +0300, Petrus Repo wrote:
> 
> Hi.
> 
> I started using Request Tracker and it shortly turned out that it screws
> up Scandinavian and newline characters.
> 
> I corrected the situation by adding the following regexps to
> lib/rt/support/mail.pm 's sub template_replace_tokens{} (right after the
> last substitute to $template):
> 
>     # corrects incorrectly shown "non-US" characters
>     $template =~ s/=([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
>     # corrects incorrect line wraps
>     $template =~ s/(=\n)*//g;
> 
> I also modified mail.pm so that it adds the following headers to all
> outgoing mail:
> 
>    MIME-Version: 1.0
>    Content-Type: text/plain; charset=iso-8859-1
>    Content-Transfer-Encoding: 8bit
> 
> 
> This worked out and now I see everything correctly in my mails. However,
> these modifications do not apply to the web interface which still screws
> e.g. all Ä and Ö characters, and wraps every line too early.
> 
> Since I don't have much time and I rarely use the web interface, I didn't
> attempt to fix it, but I just wanted to let you know about this problem I
> had. Maybe you will fix the web thingie for me.. :)
> 
> 
> 
> Best regards,
> 
>  -- Petrus
> 
> 
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

I think co-ordinating 1000 prima donnas living all over the world will be as 
easy as herding cats..." -- Andy Tanenbaum on the linux development model, 1992




More information about the Rt-devel mailing list