<div dir="ltr"><br clear="all"><div class="gmail_extra">Isn't some formality in these Unicode discussions called for? Use of everyday language to express things which can only be properly expressed and tested through source code is very confusing.<br><br></div><div class="gmail_extra">Consider these few sentences by Mattias<br></div><div class="gmail_extra"><br>>>>><br>It depends.<br>
There are two codepages. The real one and the one you tell the<br>
compiler.<br>
If you tell the compiler that the string literal is 8-bit system<br>
codepage, it will copy it without conversion to the binary.<br>
Otherwise it converts it to UTF-16<br>>>>><br><br></div><div class="gmail_extra">How do you know what the "real" codepage is at runtime or compile time, as opposed to "the one you tell the compiler"?<br></div><div class="gmail_extra">Is there some macro that can print out which codepages is active at some stage in the compilation or at runtime?<br></div><div class="gmail_extra">Can codepages be switched around at various stages in the compilation?<br><br></div><div class="gmail_extra">Being an English speaker and writing software for English speakers only, these are issues I have never had to deal with and hopefully, never will, which is just wishful thinking, but I think that all these discussions must be accompanied by code and use cases whch explain them better. I have been looking in these Unicode discussion threads and I am none the wiser after all these years.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">There must be some test suites in FPC and Lazarus which cover the issues being raised in these discussions. Wouldn't those be a better starting point?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Unicode discussions are leading me to appreciate Edsger Dijkstra more and more. ;)<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a></div>
</div></div>