<div dir="ltr">On 24 May 2013 19:49, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On 2013-05-23 23:42, Joseph Rushton Wakeling wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I'm also in agreement with Manu.  There may well already be bugs for some of<br>
them -- e.g. there is one for toUpperInPlace which he referred to, and the<br>
source of the allocation is clear and is even responsible for other bugs:<br>
<a href="http://d.puremagic.com/issues/show_bug.cgi?id=9629" target="_blank">http://d.puremagic.com/issues/<u></u>show_bug.cgi?id=9629</a><br>
</blockquote>
<br></div>
toUpper/lower cannot be made in place if it should handle all Unicode. Some characters will change their length when convert to/from uppercase. Examples of these are the German double S and some Turkish I.</blockquote><div>
<br></div><div style><span style="color:rgb(51,51,51);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">ß and SS are both actually 2 bytes, s</span><span style="color:rgb(51,51,51);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">o it works in UTF-8 at least! ;)</span></div>
</div></div></div>