A browser with JavaScript enabled is required for this page to operate properly.
Working with Text
Trail: Internationalization

Lesson: Working with Text

Nearly all programs with user interfaces manipulate text. In an international market the text your programs display must conform to the rules of languages from around the world. The Java programming language provides a number of classes that help you handle text in a locale-independent manner.

Checking Character Properties

This section explains how to use the Character comparison methods to check character properties for all major languages.

Comparing Strings

In this section you'll learn how to perform locale-independent string comparisons with the Collator class.

Detecting Text Boundaries

This section shows how the BreakIterator class can detect character, word, sentence, and line boundaries.

Converting Non-Unicode Text

Different computer systems around the world store text in a variety of encoding schemes. This section describes the classes that help you convert text between Unicode and other encodings.

Normalizer's API

This section explains how to use the Normalizer's API to transform text applying different normalization forms.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Previous Lesson
Next page: Checking Character Properties