<<< Date Index >>>     <<< Thread Index >>>

Re: mutt_format_string()



Hi,

* Thomas Roessler [06-12-07 17:43:00 +0100] wrote:

I hadn't thought about this aspect (my use case was
mutt_display_address for an e-mail address that had an illegal
character in the real name), but it does soud as if you might be
right.

Um, no. Now that I compiled an updated version I recall that it cannot work. The problem with $status_format and many other options is that you cannot use something like '%>—' (%>u2014 which looks nicer than dashed lines) formatting with because the code there has this:

  ch = *src++; /* pad char */

That means that at least padding with multibyte chars is still broken... :(

  bye, Rocco
--
:wq!