4 Mar 2007 19:33
Re: UnicodeDecodeError
Ulf Kronman <Ulf.Kronman <at> kib.ki.se>
2007-03-04 18:33:23 GMT
2007-03-04 18:33:23 GMT
David Goodger <goodger <at> python.org> writes: > > [J P Abrahamsen] > > I think there is a bug in the newest svn checkout 4891. I get a > > UnicodeDecodeError. This is fixed by saving the file > > writers\html4css1\html4css1.css as plain ASCII (it was saved as UTF-8). > > I don't see a problem. html4css1.css contains no non-ASCII > characters; saving it as UTF-8 would make no difference. Unless > there's a byte-order mark (BOM) in your copy, which might happen > if you save the file on a Windows platform. There's no BOM in > the file in SVN. Actually, it DOES contain a non-ASCII character. Look at the 4th line, containing an abbreviation of a Swedish date: sö (for sunday): /* :Author: David Goodger :Contact: goodger <at> python.org :Date: $Date: 2006-05-21 22:44:42 +0200 (sö, 21 maj 2006) $ I changed that to sun instead of sö, and got rid of the UnicodeDecodeError. The non-ASCII code is also present in the repository at the fourth line of the file writers\html4css1\html4css1.css Could someone please correct that? Regards,(Continue reading)
RSS Feed