Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35958

Re: Handling Special characters in python

Newsgroups comp.lang.python
Date 2013-01-01 20:46 -0800
References <b1b99ce0-6088-4c80-9e43-ac12e7799b92@googlegroups.com> <mailman.1527.1357065016.29569.python-list@python.org>
Subject Re: Handling Special characters in python
From anilkumar.dannina@gmail.com
Message-ID <mailman.1549.1357102018.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Wednesday, January 2, 2013 12:00:06 AM UTC+5:30, Chris Rebert wrote:
> On Jan 1, 2013 3:41 AM, <anilkuma...@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Handling Special characters in python anilkumar.dannina@gmail.com - 2013-01-01 03:35 -0800
  Re: Handling Special characters in python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-01 12:01 +0000
  Re: Handling Special characters in python Chris Rebert <chris@rebertia.com> - 2013-01-01 10:30 -0800
    Re: Handling Special characters in python anilkumar.dannina@gmail.com - 2013-01-01 20:46 -0800
      Re: Handling Special characters in python Chris Rebert <clp2@rebertia.com> - 2013-01-01 22:32 -0800
        Re: Handling Special characters in python anilkumar.dannina@gmail.com - 2013-01-02 05:39 -0800
          Re: Handling Special characters in python Chris Rebert <clp2@rebertia.com> - 2013-01-02 22:00 -0800
        Re: Handling Special characters in python anilkumar.dannina@gmail.com - 2013-01-02 05:39 -0800
    Re: Handling Special characters in python anilkumar.dannina@gmail.com - 2013-01-01 20:46 -0800

csiph-web