On 01/-10/-28163 02:59 PM, Marc Muehlfeld wrote:
Hi,
TEST = cursor.fetchone()
print TEST[0]
print TEST
When I run this script It prints me:
München
('M\xc3\xbcnchen',)
Why is the Umlaut of TEST[0] printed and not from TEST?
When you print a string, it simply prints it, control character
Marc Muehlfeld wrote:
Hi,
I'm doing my first steps with python and I have a problem with
understanding an encoding problem I have. My script:
import os
os.environ["NLS_LANG"] = "German_Germany.UTF8"
import cx_Oracle
connection = cx_Oracle.Connection("username/password@SID")
cursor = connectio
Sorry,
The problem is the OblecjtListView doesn't show some characters correctly.
In the image attached, in the "partidos list" in the grey line, where a
square is showed it must be a Ç
And in the second line where a | is showed it should be a ª
Why this happen? maybe OLV doesn`t manage well the
Joan Pallarès wrote:
I tried to create unicode in this two ways:
self.nombreLocal = unicode(nombreLocal)
self.nombreLocal = unicode(nombreLocal, 'iso-8859-1')
the "unicode" constructor takes a string of bytes in some known
character encoding, and decodes them into a Unicode string. if you
[EMAIL PROTECTED] wrote:
>
> I was playing with python encodings and noticed this:
>
> [EMAIL PROTECTED]:~$ python2.4
> Python 2.4 (#2, Dec 3 2004, 17:59:05)
> [GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
unicode('\x9d',
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|
| I was playing with python encodings and noticed this:
|
| [EMAIL PROTECTED]:~$ python2.4
| Python 2.4 (#2, Dec 3 2004, 17:59:05)
| [GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
| Type "help", "copyright", "credits" or "license" for more i