-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
On 4-Aug-2009, at 3:23pm, tdmurphy4 wrote (Trac issue 5617):
I am trying to run mantis2trac.py on a Mantis v1.1.8 server running under Mysql 5.x. It imports 40 tickets, than on ticket 41 it bombs out with:
Traceback (most recent call last):
File "./mantis2trac.py", line 943, in <module>
main()
File "./mantis2trac.py", line 940, in main
convert(MANTIS_DB, MANTIS_HOST, MANTIS_USER, MANTIS_PASSWORD, TRAC_ENV, TRAC_CLEAN)
File "./mantis2trac.py", line 680, in convert
trac.addTicket(**ticket)
File "./mantis2trac.py", line 386, in addTicket
desc = description.encode('utf-8')
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 244: unexpected code byte
I looked at ticket 41. It has the UK pound symbol (£) in it. How do I get the script to fix this properly? I'd like to import all of the tickets in but this is a really big showstopper.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels