ASCII/Unicode error in Tailor

Suraj N. Kurapati

When using Tailor to migrate from Subversion to the Darcs distributed version control system, I encountered an error saying:

'ascii' codec can't encode character

According to this Tailor bug report, the solution is to specify the --encoding=utf-8 option to Tailor. However, that did not work for me. Instead, I had to change Python’s default system encoding, in the /etc/python2.4/site.py file, from "ascii" to "utf-8" to solve the problem.

Comments

NOTE: Comments are temporarily disabled on this page while I migrate them from Disqus to Gisqus (GitHub Discussions) because the former has 💪 forced the display of advertisements 🤑 on this website recently.