Handling Special characters in python

Chris Rebert chris at rebertia.com
Tue Jan 1 13:30:06 EST 2013


On Jan 1, 2013 3:41 AM, <anilkumar.dannina 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130101/de4d9ecd/attachment.html>


More information about the Python-list mailing list