IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Technical Library
developerWorks



Tips from LDD

Displaying unicode fonts in Java applets


Tip submitted by
Lotus.com


Level: All
Works with: Microsoft Internet Explorer
Updated: 05/01/2003

Related link:
More Tips from LDD


Microsoft Internet Explorer and Netscape Navigator support Asian and other non-English characters, but neither browser is good at displaying these characters in applets. This tip describes how to display Asian and non-English characters in Java applets. The following procedure applies to Internet Explorer.
  1. Download and install a Unicode font. You can download Unicode fonts from the Internet or install Unicode fonts from Domino 5.x or later. These fonts are available in the Apps directory.
  2. After downloading and installing the font, click Start, then choose Run from the Start menu.
  3. In the Run dialog box, enter regedit.
  4. Open the key HKEY_LOCAL_MACHINE\Software\Microsoft\JavaVM
  5. If there is not already a Font Alias key under JavaVM, right-click JavaVM, then select New - Key.
  6. Enter Font Alias as the key name.
  7. Right-click Font Alias, then select New - String.
  8. Enter the following for the String value:
    Dialog
    Unicode Font value
  9. Repeat Steps 7 and 8 and enter the following:
    DialogInput
    Unicode Font value
  10. Choose Registry - Exit to save your changes.

Your browser is now ready to display Unicode characters in Java applets.

SUBMIT YOUR TIPS!
We encourage you to send us your tips (You can also click the "Would you like to submit a tip?" graphic below.) Your tips can be anything you've discovered about any Lotus product. The most important thing is that your tip be interesting, useful, or handy. And be sure to include complete information about how your tip works. For ideas, take a look at our tip archives. If we publish your tip, we'll send you the IBM Redbooks Lotus Collection on CD.






Would you like to submit a tip?
    About IBM Privacy Contact