#3807: query_format should handle unicode string
-------------------------+----------------------
 Reporter:  antonio@…    |      Owner:  mutt-dev
     Type:  enhancement  |     Status:  new
 Priority:  minor        |  Milestone:
Component:  display      |    Version:
 Keywords:               |
-------------------------+----------------------
 Hi,
 it will be great if query_format could handle unicode string, at the
 moment it is not the case and strings like:

 Дмитрий Эдуардович

 get truncated based on the precision specified in query_format, so if I
 specify %2n, I will only get the first character rather than the first two
 (because there are 2 bytes in Д)

 snprintf already handles this case if %ls is specified rathern than %s,
 I've had a look at query_format_str but I've been unable to patch it
 properly (I think that the caller might also do other things with the
 output).

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3807>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to