[darcs-users] darcs.cgi 1.0.1 and character set: converting iso-8859-1 to utf-8 for old log entries and patch names?

Matthias Andree matthias.andree at gmx.de
Tue Jan 11 15:15:48 UTC 2005


Hello,

I imported an old CVS repository with logs in ISO-8859-1 charset into
DARCS 1.0.1.

Whenever the CGI script steps on these characters, apache2 logs errors
like these (sorry - long lines). I'm not sure who exactly complains, if
it's Perl, some Perl module, darcs or whoever.

What can I do to fix this?

[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] -:5384: , referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] parser error : Input is not proper UTF-8, indicate encoding !, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] \tdiscussion with J\xf6rg Dietrich. Subject to further change!, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] \t                 ^, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] -:5384: error: Bytes: 0xF6 0x72 0x67 0x20, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] \tdiscussion with J\xf6rg Dietrich. Subject to further change!, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] \t                 ^, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts
[Wed Jan 05 05:39:05 2005] [error] [client 127.0.0.1] unable to parse -, referer: http://localhost/cgi-bin/darcs.cgi/leafnode-2/?c=browse&s=revts


If needed, the repository can be obtained from
http://home.pages.de/~mandree/leafnode/beta/darcs/
NOTE: you may need to use darcs get --complete

-- 
Matthias Andree




More information about the darcs-users mailing list