×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    N6310i and code page

    Hi,

    when user enters text into TextField in MIDlet, there are usually blocked extended characters from keyboard. However, user can start to use the T9 dictionary in his national version and in that moment the extended national characters (e.g.characters from ISO-8859-2) can appear in the TextField. Is there any way to recognize in MIDlet, what encoding (code page) or Dictionary is used?
    Thanks
    PV

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Helsinki.FI
    Posts
    112

    RE: N6310i and code page

    Hey PV,

    you can check the encoding in use for the platform by calling java.lang.System.getProperty("microedition.locale" which returns the locale (language setting) in use as a String. To get the encoding in use, call java.lang.System.getProperty("microedition.encoding"

    Kind reagrds,
    Tinke / FN
    DRINK COFFEE - Do stupid things faster with more energy

Posting Permissions

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