ascii problem

Discussion in 'Python' started by =?iso-8859-1?Q?Mauricio_Infor=E7ati?=, Aug 11, 2003.

  1. Hi,
    How can I use portuguese characters on my scripts or on shell?
    When I use it, this occurs

    >>> a = "andré"

    UnicodeError: ASCII encoding error: ordinal not in range(128)

    Mauricio Inforçati
     
    =?iso-8859-1?Q?Mauricio_Infor=E7ati?=, Aug 11, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kenneth
    Replies:
    2
    Views:
    12,341
    cheapterp
    Aug 20, 2007
  2. Costas Andriotis
    Replies:
    0
    Views:
    1,471
    Costas Andriotis
    Oct 15, 2004
  3. =?Utf-8?B?amlu?=
    Replies:
    0
    Views:
    581
    =?Utf-8?B?amlu?=
    Feb 15, 2006
  4. Jim Pete
    Replies:
    17
    Views:
    2,467
    Phil Hanna
    Oct 15, 2003
  5. TOXiC
    Replies:
    5
    Views:
    1,669
    TOXiC
    Jan 31, 2007
  6. James O'Brien
    Replies:
    3
    Views:
    509
    Ben Morrow
    Mar 5, 2004
  7. Alextophi
    Replies:
    8
    Views:
    858
    Alan J. Flavell
    Dec 30, 2005
  8. bruce
    Replies:
    38
    Views:
    647
    Mark Lawrence
    Nov 1, 2013
Loading...