Standard C++ Locales
The Standard C++ Library includes a framework for internationalisation
of C++ programs in form of locales and facets. The locale framework is
used by the standard stream I/O classes for internationalised I/O, but
is designed to be of more general use. The standard facets provide support
for culture dependent formats of date and time, monetary amounts, language-dependent
sorting of strings, and other culture-dependencies. In addition to the
standard facilities, the locale framework is extensible and can serve as
a vehicle for special-purpose culture-dependencies such as address formats,
shoe sizes, or temperature-, measure-, or currency conversions.
In this tutorial we will explore the standard facets and will learn
how to add user-defined internationalisation services to the standard locale
framework. |
|
PREREQUISITES
|
|
Level:
|
intermediate |
Duration:
|
90 minutes |
Prerequisites:
|
at least 1 year of working knowledge of C++, knowledge
of internationalization services in C will help, but are not required |
Presented at:
|
ACCU Conference 2001
,
Oxford, UK, March 2001 |
If you are interested to hear more about this
and related topics you might want to check out the following seminar or
skim through some further reading:
|
Seminars
|
Papers
|
Slides
|
|