Tech List

[index] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] utf-8 in Email.pm

From: "Schallehn Volker" <volker.schallehn AT ub.uni-muenchen.de>
Date: Wed, 7 May 2008 13:21:24 +0200


Threading:      • This Message
             Re: [EP-tech] utf-8 in Email.pm from tdb01r AT ecs.soton.ac.uk

*** 
http://www.eprints.org/tech.php/id/%3C83FFC80E6F178049A11C3A1D9D41BC4C03CB4246%40ubmail.ub.uni-muenchen.de%3E
*** EPrints community wiki - http://wiki.eprints.org/

In EPrints 3.0.5 in perl_lib/EPrints/Email.pm it should be

$text->attr('content-type.charset' => 'utf-8');
...
$html->attr('content-type.charset' => 'utf-8');

instead of

$text->attr('content-type.charset' => 'UTF8');
...
$html->attr('content-type.charset' => 'UTF8');

It's in 'sub build_email'.

Otherwise some mail programs like MS Outlook will not display e.g.
german umlauts properly.


Volker

-- 
Volker Schallehn
IT-Abteilung: Elektronisches Publizieren / Open Access
Universitaetsbibliothek Muenchen
Geschwister-Scholl-Platz 1, D-80539 Muenchen, Germany
http://www.ub.uni-muenchen.de/



Re: [EP-tech] utf-8 in Email.pm

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Mon, 12 May 2008 12:08:38 +0100


Threading: [EP-tech] utf-8 in Email.pm from volker.schallehn AT ub.uni-muenchen.de
      • This Message

*** http://www.eprints.org/tech.php/id/%3C48282536.50609%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

I've raised a ticket here:
http://trac.eprints.org/trac/ticket/3370

Cheers,
Tim.

Schallehn Volker wrote:
> *** 
http://www.eprints.org/tech.php/id/%3C83FFC80E6F178049A11C3A1D9D41BC4C03CB4246%40ubmail.ub.uni-muenchen.de%3E
> *** EPrints community wiki - http://wiki.eprints.org/
>
> In EPrints 3.0.5 in perl_lib/EPrints/Email.pm it should be
>
> $text->attr('content-type.charset' => 'utf-8');
> ...
> $html->attr('content-type.charset' => 'utf-8');
>
> instead of
>
> $text->attr('content-type.charset' => 'UTF8');
> ...
> $html->attr('content-type.charset' => 'UTF8');
>
> It's in 'sub build_email'.
>
> Otherwise some mail programs like MS Outlook will not display e.g.
> german umlauts properly.
>
>
> Volker
>
>   


[index] [options] [help]