<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Boost.Locale: Default Encoding under Microsoft Windows</title>
+
<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<link href="doxygen.css" rel="stylesheet" type="text/css"/>
-<link rel="stylesheet" type="text/css" href="../style/section-basic.css">
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+
+
</head>
<body>
-<div id="boost-common-heading-doc">
- <div class="heading-inner">
- <div class="heading-placard"></div>
-
- <h1 class="heading-title">
- <a href="http://www.boost.org/">
- <img src="../style/space.png" alt= "Boost C++ Libraries" class="heading-logo" />
- <span class="heading-boost">Boost</span>
- <span class="heading-cpplibraries">C++ Libraries</span>
- </a>
- </h1>
+<div id="top"><!-- do not remove this div! -->
- <p class="heading-quote">
- <q>...one of the most highly
- regarded and expertly designed C++ library projects in the
- world.</q>
-
- <span class="heading-attribution">— <a href=
- "http://www.gotw.ca/" class="external">Herb Sutter</a> and <a href=
- "http://en.wikipedia.org/wiki/Andrei_Alexandrescu" class="external">Andrei
- Alexandrescu</a>, <a href=
- "http://safari.awprofessional.com/?XmlId=0321113586" class="external">C++
- Coding Standards</a></span>
- </p>
- </div>
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+
+ <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
+
+
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Boost.Locale
+
+ </div>
+
+ </td>
+
+
+
+ </tr>
+ </tbody>
+</table>
</div>
-<div id="boost-common-heading-doc-spacer"></div>
-<!-- Generated by Doxygen 1.7.1 -->
-<div class="navigation" id="top">
- <div class="tabs">
+<!-- Generated by Doxygen 1.7.6.1 -->
+ <div id="navrow1" class="tabs">
<ul class="tablist">
- <li><a href="main.html"><span>Main Page</span></a></li>
+ <li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
- <div class="navpath">
- <ul>
- <li><a class="el" href="main.html">Boost.Locale</a> </li>
- <li><a class="el" href="appendix.html">Appendix</a> </li>
- </ul>
+</div>
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
</div>
</div>
+<script type="text/javascript">
+ initNavTree('default_encoding_under_windows.html','');
+</script>
+<div id="doc-content">
<div class="header">
<div class="headertitle">
-<h1>Default Encoding under Microsoft Windows </h1> </div>
-</div>
+<div class="title">Default Encoding under Microsoft Windows </div> </div>
+</div><!--header-->
<div class="contents">
-<p>All modern operating systems use Unicode.</p>
+<div class="textblock"><p>All modern operating systems use Unicode.</p>
<ul>
<li>Unix operating system family use UTF-8 encoding by default.</li>
<li>Microsoft Windows had migrated to Wide/UTF-16 API. The narrow encodings had been deprecated and the native OS API became so called "Wide API"</li>
<p><a class="el" href="classboost_1_1locale_1_1generator.html">boost::locale::generator</a> class has a property <a class="el" href="classboost_1_1locale_1_1generator.html#a9afb2b0791abbabd39c800e08d9c9717">use_ansi_encoding()</a> that allows to change the behavior to legacy one and select an ANSI code page as default system encoding.</p>
<p>So, when the current locale is "English_USA.1252" and the <code>use_ansi_encoding</code> is turned on then the default locale would be "en_US.windows-1252"</p>
<dl class="note"><dt><b>Note:</b></dt><dd><code>winapi</code> backend does not support ANSI encodings, thus UTF-8 encoding is always used for narrow characters. </dd></dl>
+</div></div><!-- contents -->
</div>
-<hr class="footer"/><address class="footer"><small>
-© Copyright 2009-2011 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
-</small></address>
+ <div id="nav-path" class="navpath">
+ <ul>
+ <li class="navelem"><a class="el" href="index.html">Boost.Locale</a> </li>
+ <li class="navelem"><a class="el" href="appendix.html">Appendix</a> </li>
+
+ <li class="footer">
+© Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
+ </li>
+ </ul>
+ </div>
+
+
</body>
</html>