×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    9

    arabic char with python problem

    hello,
    python does not display Arabic char correctly ,
    i tried the following code from the interactive console :
    >>>from appuifw import *
    >>>note(u"b")

    it show a 'b' message box ,when i changed the 'b' letter with arabic char , it does not return the correct char , although it displayed it correct in the console :

    >>>from appuifw import *
    >>>note(u"ب")

    i am using python 1.4.2 for S60 in nokia 6670 phone

    how to fix this problem

    thanks

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Re: arabic char with python problem

    >>>from appuifw import *
    >>>note(u"ب")

    i am using python 1.4.2 for S60 in nokia 6670 phone

    how to fix this problem

    Try unicode escape your strings with notation e.g. u"text with a special \x0f12 character". Maybe the Python interpreter/source code does not understand the character encoding.
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    9

    Re: arabic char with python problem

    hello miohtama,

    i think python console does not support utf8 ?
    i see many mobile apps & games that support arabic : it just return what u type exaclty

    thanks

Similar Threads

  1. Problem with install Python SDK on PC
    By znakharenko in forum Symbian
    Replies: 9
    Last Post: 2008-08-14, 04:29
  2. Replies: 1
    Last Post: 2008-01-08, 09:58
  3. Replies: 12
    Last Post: 2007-09-27, 13:07
  4. Replies: 1
    Last Post: 2007-09-25, 03:42
  5. Problem in "space" char with 6610
    By jango28 in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2005-03-15, 12:09

Posting Permissions

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