I've been learning Markdown, and using the Python Markdown package, which often returns the following when I try to convert text that has been pasted in from the web:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in
position 1611: ordinal not in range(128)
At the bottom of my editor I currently see this:
COMMAND MODE, Line X, Column Y
Is there a setting in Sublime Text 2 that will show the full position (as in 1611
in the example above) at all times so I can quickly find the bad character?
You could make a simple python script to do this.
1. Save this code to your User folder as
characterCounter.py
(Preferences > Browse Packages > User
):2. Then restart Sublime Text to have it loaded.