Chapter 22 deals with the C++ localization facilities.
Dr. Bjarne Stroustrup has released a pointer to Appendix D of his book, The C++ Programming Language (3rd Edition). It is a detailed description of locales and how to use them.
Return to top of page or to the FAQ.
An article entitled "The Standard C++ Locale" was published in Dr. Dobb's Journal and can be found here
Return to top of page or to the FAQ.
Notes made during the implementation of codecvt can be found here.
The following is the abstract from the implementation notes:
The standard class codecvt attempts to address conversions between different character encoding schemes. In particular, the standard attempts to detail conversions between the implementation-defined wide characters (hereafter referred to as wchar_t) and the standard type char that is so beloved in classic "C" (which can now be referred to as narrow characters.) This document attempts to describe how the GNU libstdc++-v3 implementation deals with the conversion between wide and narrow characters, and also presents a framework for dealing with the huge number of other encodings that iconv can convert, including Unicode and UTF8. Design issues and requirements are addressed, and examples of correct usage for both the required specializations for wide and narrow characters and the implementation-provided extended functionality are given.
Return to top of page or to the FAQ.
Notes made during the implementation of ctype can be found here.
Return to top of page or to the FAQ.
Comments and suggestions are welcome, and may be sent to
Phil Edwards or
Gabriel Dos Reis.
$Id: howto.html,v 1.3 2000/08/25 08:52:56 bkoz Exp $