Re: Stupid quoting...

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Sunday, June 24, 2007 - 4:47 am

Robin Rosenberg <robin.rosenberg.lists@dewire.com> writes:


More problematic is the case where pathnames and contents are in
different encodings, even for the same language.

For example, my mbox files that store messages I receive from
people in Japan have contents in ISO-2022 as that is the
longstanding standard encoding used for e-mail over there, but
the pathname encoding used by the system I have that mbox file
on is EUC-JP.

If I were to create a patch between two versions of such a file,
the diff header would show the pathname encoded in one, and the
changed contents would ben shown in another.  As long as you
treat "git diff" output as binary blob, that would work just
fine, but when you have to transmit such a diff in e-mail as an
in-line patch, you would have troubles.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Stupid quoting..., Johannes Schindelin, (Tue Jun 19, 7:19 pm)
Re: Stupid quoting..., Junio C Hamano, (Tue Jun 19, 11:19 pm)
Re: Stupid quoting..., Jan Hudec, (Sat Jun 23, 11:50 pm)
Re: Stupid quoting..., Robin Rosenberg, (Sun Jun 24, 4:14 am)
Re: Stupid quoting..., Junio C Hamano, (Sun Jun 24, 4:47 am)
Re: Stupid quoting..., David Kastrup, (Sun Jun 24, 4:58 am)
Re: Stupid quoting..., Junio C Hamano, (Sun Jun 24, 5:19 am)
Re: Stupid quoting..., Jeff King, (Sun Jun 24, 5:41 am)
Re: Stupid quoting..., Jan Hudec, (Sun Jun 24, 9:25 am)
Re: Stupid quoting..., Robin Rosenberg, (Sun Jun 24, 12:39 pm)
Re: Stupid quoting..., David Kastrup, (Sun Jun 24, 12:47 pm)
Re: Stupid quoting..., Robin Rosenberg, (Sun Jun 24, 1:17 pm)
Re: Stupid quoting..., David Kastrup, (Sun Jun 24, 1:25 pm)