<div dir="ltr">The &quot;POSIX&quot; and &quot;C&quot; locales, where the &quot;POSIX&quot; locale is the superset of capabilities of the &quot;C&quot; locale, but otherwise by definition equivalent, is the one you get if you do not make a setlocale() call. <br>So, not _a_ posix locale, but _the_ POSIX locale. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 1:37 PM &lt;<a href="mailto:keld@keldix.com">keld@keldix.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Apr 28, 2019 at 05:25:28PM -0400, JeanHeyd Meneide wrote:<br>
&gt; On Sun, Apr 28, 2019 at 4:01 PM &lt;<a href="mailto:keld@keldix.com" target="_blank">keld@keldix.com</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt;   I believe there are a number of encodings in East Asia that there will<br>
&gt; &gt; still be<br>
&gt; &gt; developed for for quite some time.<br>
&gt; &gt;<br>
&gt; &gt; major languages and toolkits and operating systems are still character set<br>
&gt; &gt; independent.<br>
&gt; &gt; some people believe that unicode has not won, and some people are not<br>
&gt; &gt; happy with<br>
&gt; &gt; the unicode consortium. why abandon a model that still delivers for all?<br>
&gt; &gt;<br>
&gt; &gt; keld<br>
&gt; &gt;<br>
&gt; <br>
&gt; I think there&#39;s really only one thing that needs to be fixed, and that&#39;s<br>
&gt; the POSIX and C locales. Right now, they force a by-requirement 256<br>
&gt; single-byte encoding. (Chapter 6, Section 2, first sentence:<br>
&gt; <a href="http://pubs.opengroup.org/onlinepubs/9699919799/" rel="noreferrer" target="_blank">http://pubs.opengroup.org/onlinepubs/9699919799/</a>).<br>
<br>
the posix std has since 1991 had provisions for iso 10646 and most posix implementations<br>
today supports iso 10646 and iso 14651 - with a lot of collation and character attribure support<br>
long befor unicide made something up.<br>
<br>
&gt; <br>
&gt; This restriction is what has been utterly and absolutely destroying the<br>
&gt; ability to behave properly with a large set of encodings deployed around<br>
&gt; the world, including Unicode, as a default. I am actually spending time and<br>
&gt; cycles now contacting people on the C Standards Committee and reaching out<br>
&gt; to people to find the POSIX individuals responsible for overseeing this<br>
&gt; standard: that the locale is a single-byte encoding is not &quot;character set<br>
&gt; independent&quot;: it means that only a small fraction (ASCII, or similar) can<br>
&gt; possibly be the default C or POSIX locale. That Unicode (specifically,<br>
&gt; UTF8) happens to work in C and C++ is because the defaults for many of the<br>
&gt; implementations simply pass char/wchar_t/char16_t/char32_t through their<br>
&gt; interfaces and do not touch it. But, the moment anyone uses facets or<br>
&gt; locales in any meaningful manner, much of it falls over.<br>
<br>
this is not true, quite the contrary.<br>
yes posix has a standard posix locale which is 7/8 bit and portable,<br>
but 10646 has been supported since 1991 in posix. and works are inderway for a posix 10646 locale,<br>
iso 14652 has a candidate for that which is also the base for many glibc national locales.<br>
<br>
<br>
&gt; <br>
&gt; POSIX/C need to acknowledge that multibyte encodings are reasonable<br>
&gt; defaults (not just recommended extensions, but plausible defaults). Until<br>
&gt; then, no: the C standard does not deliver for all and actively harms the<br>
&gt; development and growth of international text processing on large and small<br>
&gt; hardware systems.<br>
<br>
I think you are not up to date. how can Linux and osx and other posix os&#39;es deliver<br>
fully internationalized systems with support for more languages than microsoft windows?<br>
linux supports more than 100 languages, an mostly in utf-8.<br>
<br>
keld<br>
_______________________________________________<br>
SG16 Unicode mailing list<br>
<a href="mailto:Unicode@isocpp.open-std.org" target="_blank">Unicode@isocpp.open-std.org</a><br>
<a href="http://www.open-std.org/mailman/listinfo/unicode" rel="noreferrer" target="_blank">http://www.open-std.org/mailman/listinfo/unicode</a><br>
</blockquote></div>