[issue814] mercurial: hg email doesn't use correct encoding

Vincent Danjean mercurial-bugs at selenic.com
Fri Nov 2 09:42:27 CDT 2007


New submission from Vincent Danjean <vdanjean.ml at free.fr>:

Hi,

  This is the Debian bug #427854 ( http://bugs.debian.org/427854 )
The submitter is working on it upstream. It is still present in 0.9.5

  Best regards,
    Vincent

Wesley J. Landaker wrote:
> Package: mercurial
> Version: 0.9.3-2
> Severity: normal
> 
> hg email (the patchbomb extension) doesn't send patches encoded
> properly. Everything in my repo is UTF-8, and I am running with a UTF-8
> locale, and all the default encoding stuff for mercurial is set to fall
> back to UTF-8, etc.
> 
> However, when I send a patch (of a UTF-8 file) the mail header has:
> 
> Content-Type: text/plain;
>   charset="us-ascii"
> 
> This of course totally breaks the patch for the recipient, unless they
> know how to manually work around it.
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (40, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.20 (SMP w/2 CPU cores; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages mercurial depends on:
> ii  libc6                         2.5-10     GNU C Library: Shared libraries
> ii  python                        2.4.4-6    An interactive high-level object-o
> ii  python-support                0.6.4      automated rebuilding support for p
> ii  python2.4                     2.4.4-4    An interactive high-level object-o
> 
> Versions of packages mercurial recommends:
> pn  kdiff3 | tkdiff | rcs         <none>     (no description available)
> pn  tk8.4 | wish                  <none>     (no description available)
> 
> -- no debconf information
>

----------
messages: 4248
nosy: 427854, vdanjean, wjl
priority: bug
status: unread
title: mercurial: hg email doesn't use correct encoding

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue814>
____________________________________________________



More information about the Mercurial-devel mailing list