Skip to main content

International Components for Unicode

Server Side Demos

Web Demos

These demos are running on the ICU server, and are implemented as Java Servlets and JSP pages.

Client Side Demos

These demos will show different capabilities of ICU. To use them you must have Java installed. There are two ways to run the ICU4J Demos.

Java Web Start Demos (Online)

 

Downloadable Demo Jar (Offline)

  1. Download a recent version of the ICU4J binary jar.
  2. Rename the jar to icu4j.jar
  3. Download icu4j-demos.jar and store it in the same directory as icu4j.jar.
  4. Launch icu4jdemos.jar either by double-clicking it, or by executing java -jar icu4jdemos.jar
 

Using the demos

CalendarApp This demo compares two calendars against each other. Choose the two calendar types, and the display language, from the pop-up menus. Navigate by days using the < and > buttons, or by years using the << and >> buttons.

Translit This demonstration shows ICU Transliteration. The transliteration mode chosen in the menu will be used as you type.

HolidayCalendarDemo This demo displays holidays from a certain locale, localized into the display language of your choice. Navigate by days using the < and > buttons, or by years using the << and >> buttons.

 

RbnfDemo This demo shows Rule Based Number Formatting. Please expand the window to show the entire demo. A number may be entered in the top left corner, or the navigation buttons may be used. The pop-up menus in the top right corner will pick the rule and the variant used.

DetectingViewer By opening a document using the Open file or Open URL menu items, this demo will statistically detect the probable file encoding of a file. Use the DetectedEncodings menu to see which encodings were detected.

Note: Due to security constraints, you must use the Downloadable Demo Jar in order to use these demos with files on your local disk. The Java Web Start application will not have permission to read local files.


ICU Introduction Applets

About the Applets

This is a paper introducing ICU calendars, which has live applets throughout the text to demonstrate various features.

  1. Download and extract the files in icu4j-applets.zip
  2. Launch the extracted file Introduction.htm in a web browser.