Re: [Exim] rewriting full name in From-header with non-ascii…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Meik Hellmund
CC: exim-users
Subject: Re: [Exim] rewriting full name in From-header with non-ascii characters
On 15 Jan 2003, Meik Hellmund wrote:

> First, let me say many thanks for exim which is a terrific program!
> Let me also mention that spec.txt is the best description of how an
> MTA works and how it should be configured I ever found.


Thank you.

> ${rfc2047:<string>}  applies  parse_fix_phrase() to string to construct valid
>                     from-lines with non-ascii characters


> What do you think about including something like this in exim?


Should be easy enough. Noted.

> Another possibility would be to call parse_fix_phrase() automatically when a
> rewriting with the w flag takes place, but I didn't try that.


Yes, perhaps that should be done as well.

> ${utf8:<string>} converts string from utf8 to iso-8859-1
>
> This is only a hack, it needs the iconv..() functions as provided by the
> GNU libc.


I have my own UTF-8 functions for use with PCRE so would not need to use
an external lib in order to implement this.

> Another remark:
> parse_fix_phrase() depends - via mac_isprint() - on the
> print_topbitchars configuration option, which seems wrong to me. Is this a bug?


Probably! I've made a note to think about this.

Thanks for the patch.

Philip

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.