Java Reference
In-Depth Information
CHAPTER 12
Unicode, Internationalization,
and Currency Codes
The Java platform provides a rich set of internationalization features to help you create
applications that can be used across the world. The platform provides the means to loc-
alize your applications, format dates and numbers in a variety of culturally-appropriate
formats, and display characters used in dozens of writing systems.
This chapter describes only some of the most frequent and common tasks that pro-
grammers must perform when developing internationalized applications. Because new
features have been added to the Java language with regard to its abstraction of languages
and regions, this chapter describes some of the new ways you might use the Locale
class. Other new features will be transparent to the developer, such as the update to ad-
here to newer Unicode standards, but the updates provide compliance so that JDK 8 will
remain relevant for years to come. Java 8 includes support for Unicode 6.2.0, which
adds 733 characters, 7 new scripts, and 11 new blocks.
Note The source code for this chapter's examples is available in the
org.java8recipes.chapter12 package. See the introductory chapters for in-
structions on how to find and download sample source code.
12-1. Converting Unicode Characters to
Digits
Search WWH ::




Custom Search