ascii decode error on formatTimestamp() #708

Closed
opened 2014-08-22 12:15:39 +02:00 by DarkRedman · 3 comments
DarkRedman commented 2014-08-22 12:15:39 +02:00 (Migrated from github.com)

formatTimestamp() on line 81 the GUI was'nt starting because of the error that says can't convert non-ascii characters, in french the month can have accents, so this part should be improved, meanwhile I modify the code to

return unicode(timestring, encoding,errors='replace')
formatTimestamp() on line 81 the GUI was'nt starting because of the error that says can't convert non-ascii characters, in french the month can have accents, so this part should be improved, meanwhile I modify the code to ``` python return unicode(timestring, encoding,errors='replace') ```
brvier commented 2014-08-28 13:40:20 +02:00 (Migrated from github.com)

Have same errors, didn t see your issue before, there is better to do than doing dumb replace.

https://github.com/Bitmessage/PyBitmessage/pull/710

Have same errors, didn t see your issue before, there is better to do than doing dumb replace. https://github.com/Bitmessage/PyBitmessage/pull/710
Atheros1 commented 2014-08-28 19:16:48 +02:00 (Migrated from github.com)

DarkRedman,
Does the change in #710 fix your problem?

DarkRedman, Does the change in #710 fix your problem?
DarkRedman commented 2014-09-11 21:58:27 +02:00 (Migrated from github.com)

Yes it works now, thanks to both of you :)

Yes it works now, thanks to both of you :)
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-12-01#708
No description provided.