Re: Encoding troubles

2010-05-17 Thread Neil Hodgson
JB: as hypens (–) and apostrophes (’) are in an odd encoding. When passed to the database using sqlalchemy they appear as – and other characters. The encoding is UTF-8. Normally the best way to handle encodings is to convert to Unicode strings (unicode(s, UTF-8)) as soon as possible and

Re: Encoding troubles

2010-05-17 Thread Bryan
Neil Hodgson wrote: JB: as hypens (–) and apostrophes (’) are in an odd encoding. When passed to the database using sqlalchemy they appear as – and other characters.    The encoding is UTF-8. Normally the best way to handle encodings is to convert to Unicode strings (unicode(s,