Thread (28 messages) flat view 28 messages, 4 authors, 2016-06-15

Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters

From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:44:26

Possibly related (same subject, not in this thread)

Den Saturday 29 March 2008 08.22.03 skrev Jeff King:
On Sat, Mar 29, 2008 at 08:19:07AM +0100, Robin Rosenberg wrote:
quoted
Den Friday 28 March 2008 22.29.01 skrev Jeff King:
quoted
We always use 'utf-8' as the encoding, since we currently
have no way of getting the information from the user.
Don't set encoding to UTF-8 unless it actually looks like UTF-8.
OK. Do you have an example function that guesses with high probability
whether a string is utf-8? If there are non-ascii characters but we
_don't_ guess utf-8, what should we do?
I guess the best bet is to assume the locale. Btw, is the encoding header
from the commit (when present) completely lost? (not that it can be trusted
anyway).

-- robin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help