<div dir="ltr">I might be wrong, but I think this is a Debian (and derived) thing. I did a search before commenting, and apparently there is no C.UTF-8 in upstream glibc. I see several discussions about possibly adding it, some dating as late as August 2015, but haven't found any sign that it was added to glibc. One example is <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=16621#c4">https://sourceware.org/bugzilla/show_bug.cgi?id=16621#c4</a><div><br></div><div>I know that there had been resistance in Fedora to a patch to add C.UTF-8, and a preference to wait until upstream glibc got it. </div><div><br></div><div>I don't currently have access to my non-debian-derived test environments, so don't take my word for it...</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 15, 2016 at 9:09 PM, Samuel Holland <span dir="ltr"><<a href="mailto:samuel@sholland.org" target="_blank">samuel@sholland.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/15/2016 02:28 PM, Rob Landley wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In theory, this means I set LC_ALL=c in scripts/test.sh the same way<br>
I do in scripts/make.sh, but I don't want to accidentally disable<br>
UTF8 support in the host version I'm testing against.<br>
</blockquote>
<br></span>
Then set LC_ALL=C.UTF-8<br>
<br>
This works on both glibc and musl for enabling UTF8 support in the GNU<br>
tools, while keeping C locale semantics.<br>
<br>
--<br>
Regards,<br>
Samuel Holland <<a href="mailto:samuel@sholland.org" target="_blank">samuel@sholland.org</a>><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net" target="_blank">Toybox@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/listinfo.cgi/toybox-landley.net</a><br>
</div></div></blockquote></div><br></div>