Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User petrvo's Avatar
    Join Date
    Mar 2003
    Posts
    1
    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 tinkezione's Avatar
    Join Date
    Mar 2003
    Location
    Helsinki.FI
    Posts
    112
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved