Handling Special characters in python

anilkumar.dannina at gmail.com anilkumar.dannina at gmail.com
Wed Jan 2 05:46:56 CET 2013

On Wednesday, January 2, 2013 12:00:06 AM UTC+5:30, Chris Rebert wrote:
> On Jan 1, 2013 3:41 AM, <anilkuma... at gmail.com> wrote:
> >
> > I am facing one issue in my module. I am gathering data from sql server database. In the data that I got from db contains special characters like "endash". Python was taking it as "\x96". I require the same character(endash). How can I perform that. Can you please help me in resolving this issue.
> 1. What library are you using to access the database?
> 2. To confirm, it's a Microsoft SQL Server database?
> 3. What OS are you on?

1. I am using "pymssql" module to access the database.
2. Yes, It is a SQL server database.
3. I am on Ubuntu 11.10

More information about the Python-list mailing list