e203a9886a
2000-08-30 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file. * docs/22_locale/codecvt.html: Re-number. * docs/22_locale/howto.html: Add entry for ctype documentation. Add entry for Nathan's introduction to locales paper. * docs/22_locale/ctype.html: New file. In progress... * docs/22_locale/codecvt.html: Formatting cleanups. * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko. From-SVN: r36082
110 lines
3.7 KiB
HTML
110 lines
3.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
<META NAME="AUTHOR" CONTENT="pme@sources.redhat.com (Phil Edwards)">
|
|
<META NAME="KEYWORDS" CONTENT="HOWTO, libstdc++, egcs, g++, libg++, STL">
|
|
<META NAME="DESCRIPTION" CONTENT="HOWTO for the libstdc++ chapter 22.">
|
|
<META NAME="GENERATOR" CONTENT="vi and eight fingers">
|
|
<TITLE>libstdc++-v3 HOWTO: Chapter 22</TITLE>
|
|
<LINK REL="home" HREF="http://sources.redhat.com/libstdc++/docs/22_locale/">
|
|
<LINK REL=StyleSheet HREF="../lib3styles.css">
|
|
<!-- $Id: howto.html,v 1.3 2000/08/25 08:52:56 bkoz Exp $ -->
|
|
</HEAD>
|
|
<BODY>
|
|
|
|
<H1 CLASS="centered"><A NAME="top">Chapter 22: Localization</A></H1>
|
|
|
|
<P>Chapter 22 deals with the C++ localization facilities.
|
|
</P>
|
|
|
|
|
|
<!-- ####################################################### -->
|
|
<HR>
|
|
<H1>Contents</H1>
|
|
<UL>
|
|
<LI><A HREF="#1">Bjarne Stroustrup on Locales</A>
|
|
<LI><A HREF="#2">Nathan Myers on Locales</A>
|
|
<LI><A HREF="#3">codecvt</A>
|
|
<LI><A HREF="#4">ctype</A>
|
|
</UL>
|
|
|
|
<HR>
|
|
|
|
<!-- ####################################################### -->
|
|
|
|
<H2><A NAME="1">Stroustrup on Locales</A></H2>
|
|
<P>Dr. Bjarne Stroustrup has released a
|
|
<A HREF="http://www.research.att.com/~bs/3rd_loc0.html">pointer</A>
|
|
to Appendix D of his book,
|
|
<A HREF="http://www.research.att.com/~bs/3rd.html">The C++
|
|
Programming Language (3rd Edition)</A>. It is a detailed
|
|
description of locales and how to use them.
|
|
</P>
|
|
<P>Return <A HREF="#top">to top of page</A> or
|
|
<A HREF="../faq/index.html">to the FAQ</A>.
|
|
</P>
|
|
|
|
<HR>
|
|
<H2><A NAME="2">Nathan Myers on Locales</A></H2>
|
|
<P> An article entitled "The Standard C++ Locale" was published in
|
|
Dr. Dobb's Journal and can be found
|
|
<A HREF="http://www.cantrip.org/locale.html">here</A>
|
|
</P>
|
|
<P>Return <A HREF="#top">to top of page</A> or
|
|
<A HREF="../faq/index.html">to the FAQ</A>.
|
|
</P>
|
|
|
|
<HR>
|
|
<H2><A NAME="3">codecvt</A></H2>
|
|
<P> Notes made during the implementation of codecvt can be found
|
|
<A HREF="codecvt.html">here</A>.
|
|
</P>
|
|
|
|
<P> The following is the abstract from the implementation notes:
|
|
<BLOCKQUOTE>
|
|
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.
|
|
</BLOCKQUOTE>
|
|
|
|
<P>Return <A HREF="#top">to top of page</A> or
|
|
<A HREF="../faq/index.html">to the FAQ</A>.
|
|
</P>
|
|
|
|
<HR>
|
|
<H2><A NAME="4">ctype</A></H2>
|
|
<P> Notes made during the implementation of ctype can be found
|
|
<A HREF="ctype.html">here</A>.
|
|
</P>
|
|
<P>Return <A HREF="#top">to top of page</A> or
|
|
<A HREF="../faq/index.html">to the FAQ</A>.
|
|
</P>
|
|
|
|
|
|
|
|
<!-- ####################################################### -->
|
|
|
|
<HR>
|
|
<P CLASS="fineprint"><EM>
|
|
Comments and suggestions are welcome, and may be sent to
|
|
<A HREF="mailto:pme@sources.redhat.com">Phil Edwards</A> or
|
|
<A HREF="mailto:gdr@egcs.cygnus.com">Gabriel Dos Reis</A>.
|
|
<BR> $Id: howto.html,v 1.3 2000/08/25 08:52:56 bkoz Exp $
|
|
</EM></P>
|
|
|
|
|
|
</BODY>
|
|
</HTML>
|