Discussion Board

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

    How to change the charset for Font object.

    Dear all

    In the case that the mobile phone support more than one character set, how can I change the character set and also character encoding to let the Font object or Graphics object can draw the string?

    Thanks all.

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK
    Not sure what you mean...

    Java systems all use Unicode for Strings, so don't have a concept of "code page". You can draw any character that your phone will support... so Latin, Greek, Cyrillic, Arabic, Hebrew, ...

    Specify non-ASCII Unicode characters in your source code like:
    String s = "\u0401\u0402\u0403";
    so, backslash-u followed by the four digit character code (in hex).


Posting Permissions

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