ietf-mta-filters
[Top] [All Lists]

Re: Proposal for escaping on non-UTF-8 sequences in Sieve

2006-10-19 06:13:06

On Thu, 2006-10-19 at 08:36 +0200, Michael Haardt wrote:
On Wed, Oct 18, 2006 at 07:49:55PM +0200, Kjetil Torgrim Homme wrote:
we have three proposals here:

  $%<hex>
  ${hex:<hex>}

and a slightly more nebulous "a more unique prefix", perhaps this
qualifies:

  $[hex:<hex>]

that would be fine with me, in any case.

I like ${hex:<hex>}, because it looks like a function and we can use the
same syntax for other string expansions, too.

I think it only looks like a function to you because you're used to
exim.conf :-)  if you know of other languages where functions looks like
this, I'm interested in hearing about it.

if we want a syntax well known from other languages, we could do

  $(hex <hex> <hex>)

this has a strong similarity to POSIX shell.

which of ${, $[ or $( we use is not important to me.
-- 
Kjetil T.


<Prev in Thread] Current Thread [Next in Thread>