×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    54

    Accented letters

    How can i encode accented letters? (à,ò,ù,è,ì)
    I've tried with utf-8 and with the replace without success.
    I use python 1.4.1 on nokia n70.
    Help me please.

  2. #2
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    57

    Re: Accented letters

    Quote Originally Posted by ikaroweb80 View Post
    How can i encode accented letters? (à,ò,ù,è,ì)
    You can encode them any way You want, but for the purpose of displaying on the S60 UI don't encode at all, use the base unicode syntax (\u0xx). If You want to see what Your letters look like in this syntax, try this:

    Code:
    import appuifw as a
    mytext = a.query(u'write some text','text')
    print repr(mytext)
    a.note(mytext)
    As to displaying accented letters in the python shell, I have no clue myself.

  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    54

    Re: Accented letters

    I've changed the encode to utf8, before was utf-8 and now works fine!!!!

Similar Threads

  1. Find box - first letters then numbers
    By Bill_Murray in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-01-20, 06:40
  2. Unicode letters in Help
    By djgtram in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-02-21, 18:13
  3. accented characters
    By aed02 in forum Mobile Java General
    Replies: 4
    Last Post: 2003-08-28, 10:12
  4. Scandic letters in 7650/ mms message
    By ajtak in forum General Messaging
    Replies: 3
    Last Post: 2003-04-09, 10:08
  5. Polish letters on 9210's pJava
    By Nokia_Archive in forum Mobile Java General
    Replies: 0
    Last Post: 2002-05-27, 15:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×