hgwebdir plugin problem with non-ascii chars
Goffredo Baroncelli
kreijack at inwind.it
Wed Apr 12 19:52:17 BST 2006
Hi Marc,
sorry for the inconvenient, I hope that the new revision should solve the bug.
Please give me a feedback.
My change is
http://goffredo-baroncelli.homelinux.net/bazaar/bazaar-webserve?cmd=revision;revid=ghigo@venice-20060412184054-a1056508621dc72d
However I still have some problems in the encoding beacuse in the log on the
web page your name is still wrong ( however in the console your name is
right )... sorry for the incovenient...
I will work on it.
Thank you
Goffredo
On Wednesday 12 April 2006 14:21, you (Marc Poulhiès) wrote:
> Hello,
>
> I'm using bzr with the web interface plugin (port from hg IIRC) and have
> a small encoding problem since yesterday's changes in the plugin.
> Last time I reported a bug for this plugin, I was told to post to the
> list also, I hope this is still correct :)
>
> If I have something like my name in the config file:
>
> author = Marc Poulhis
>
> I end up with this error (config file is utf-8 here, but this is the
> same with iso-8859):
> *
> UnicodeDecodeError*: 'ascii' codec can't decode byte 0xc3 in position
> 11: ordinal not in range(128)
> args = ('ascii', 'Marc Poulhi\xc3\xa8s', 11, 12, 'ordinal not in
> range(128)')
> encoding = 'ascii'
> end = 12
> object = 'Marc Poulhi\xc3\xa8s'
> reason = 'ordinal not in range(128)'
> start = 11
>
> I'm not too familiar with encodings, but I managed to fix this (see
> attached patch), but I guess this is not the clean way of doing it...
>
> Cheers,
> Marc
>
>
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the bazaar
mailing list