[darcs-users] utf8 in patch bundles and the Chinese codepoint trick

Trent W. Buck twb at cybersource.com.au
Mon Oct 26 00:26:53 UTC 2009


Eric Kow <kowey at darcs.net> writes:

> Hmm,
>
> On Mon, Oct 12, 2009 at 19:43:52 +1100, Trent W. Buck wrote:
>> For the record, this is what you see in the pipermail archive.
>
> For me,
>   http://lists.osuosl.org/pipermail/darcs-users/2009-October/021851.html 
> displays � for the Chinese and ú for the accented u in Marco's name
> like what would happen if you'd double-utf-8 encoded it (thinking it was
> iso8859-1)

I think you're looking at the pipermail page.  I was only looking at the
attachment.

>> The URL below has Content-Type application/octet-stream, so I assume
>> it works OK.
>
> Seems to work.  I'm puzzled by why file reports it as ISO-8859 text
> though...

Because file is only guessing, and it only looks at the first few bytes.



More information about the darcs-users mailing list