<ulclass="crumbs"><li><ahref="../webs.html">★</a></li><li><ahref="index.html">foundation</a></li><li><ahref="index.html#4">Chapter 4: Text Handling</a></li><li><b>Wide Strings.w</b></li></ul><pclass="purpose">A minimal library for handling wide C strings.</p>
<pclass="inwebparagraph"><aid="SP1"></a><b>§1. </b>By "wide string", we mean an array of <codeclass="display"><spanclass="extract">wchar_t</span></code>. A pointer to this type
is what is returned by an L-literal in ANSI C, such as <codeclass="display"><spanclass="extract">L"look, I'm wide"</span></code>.
A wide string is essentially a C string but with characters stored in full
words instead of bytes. The character values should be Unicode code points.
</p>
<pclass="inwebparagraph">We will do as little as possible with wide strings, and the following
wrappers simply abstract the standard C library's handling.
<ulclass="toc"><li><ahref="4-cst.html">Back to 'C Strings'</a></li><li><ahref="4-sm.html">Continue with 'String Manipulation'</a></li></ul><hrclass="tocbar">