
noreply at edgewall
Oct 6, 2006, 1:14 PM
Post #1 of 1
(617 views)
Permalink
|
|
[The Trac Project] #3879: OpenBSD: encoding error
|
|
#3879: OpenBSD: encoding error ---------------------------+------------------------------------------------ Reporter: gchain | Owner: mgood Type: defect | Status: new Priority: normal | Milestone: Component: report system | Version: 0.10 Severity: blocker | Keywords: openbsd locale python ---------------------------+------------------------------------------------ In OpenBSD, datefmt.py:locale.getlocale() return None. So in unicode(text, encoding, 'replace'), the second args in None => ERROR!! I just replace unicode(text, encoding, 'replace') by unicode(text, 'ISO-8859-1', 'replace'), It's an ugly hack but works. May be one of you had a better idea. -- Ticket URL: <http://trac.edgewall.org/ticket/3879> The Trac Project <http://trac.edgewall.org/> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Tickets" group. To post to this group, send email to trac-tickets [at] googlegroups To unsubscribe from this group, send email to trac-tickets-unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.se/group/trac-tickets -~----------~----~----~----~------~----~------~--~---
|