On 08/18/2018 08:38 AM, Heiko Schlittermann via Exim-dev wrote: > And a new addtional main option > > string_encoding = ascii | utf8 (default: ascii) > > which can then switch ${strlen:…} to be equivalent to ${ustrlen:…}
I'm not particularly happy about global mode-switches. Too much scope for "oops!". Doing it as an option would look like ${strlen/utf8:...} modulo choice of the option separator. We don't currently have any expansion operators that use options, which is a mark against going that way. -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##