Tutorial: 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.

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

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

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

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.

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

This section discusses how to work with bidirectional text, which is text that contains text that runs in two directions, left-to-right and right-to-left.