<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 17, 2014, at 7:41 PM, Marshall Clow <<a href="mailto:mclow.lists@gmail.com" class="">mclow.lists@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Dec 11, 2014, at 8:22 AM, Ed Schouten <<a href="mailto:ed@80386.nl" class="">ed@80386.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">2014-12-11 15:17 GMT+01:00 Joerg Sonnenberger <<a href="mailto:joerg@britannica.bec.de" class="">joerg@britannica.bec.de</a>>:<br class=""><blockquote type="cite" class="">Sane system use the same logic for the default C locale and the<br class="">non-default locales, just with a different table.<br class=""></blockquote><br class="">Sane systems also tend to evolve over time. The snippet of code that<br class="">we use for FreeBSD, for example, will not work on a system from before<br class="">November 2011. Who knows what Microsoft is going to do with MSVCRT.DLL<br class="">in the future?<br class=""><br class="">That said, I am not the maintainer of libc++. Feel free to make any<br class="">modifications to the proposed patch before committing.</div></blockquote><br class=""></div><div class="">I’ve been discussing this with Dan on IRC.</div><div class=""><br class=""></div><div class="">I am quite happy to add a default rune table to libc++ (conditionally included) and to use it on systems that lack (or have defective) tables of their own.</div><div class=""><br class=""></div><div class="">I am less enthusiastic about libc++ always providing its’ own - at this time. I’m worried about compatibility issues.</div></div></div></blockquote><br class=""></div><div>Finally coming back to this.</div><div><br class=""></div><div>The first step is to add tests. :-)</div><div>I’ve added tests for the contents of ctype<char>::classic_table.  (commit 231077)</div><div>I’ll be watching the buildbots.</div><div><br class=""></div><div>Next step: Add a default table, and test that.</div><div>Third step: Let people turn on the default table for their systems.</div><div><br class=""></div><div>Is everyone ok with that?</div><div><br class=""></div><div>— Marshall</div><div><br class=""></div><br class=""></body></html>