Skip to content

Event title error when containing special characters like "é" : 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128) #20

@adimux

Description

@adimux

I encountered this issue when creating an event whose title is "Début stage".
The line in cause is the 206th from the file /site-packages/swingtime/models.py when the occurrence is outputted as string.

/site-packages/swingtime/models.py
204 #---------------------------------------------------------------------------
205 def str(self):
206 return '{}: {}'.format(self.title, self.start_time.isoformat())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions