<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>Da: <b class="gmail_sendername" dir="auto">Gianluigi</b> <span dir="auto"><<a href="mailto:bagonergi@gmail.com">bagonergi@gmail.com</a>></span><br>Date: mer 11 set 2019 alle ore 15:34<br>Subject: Re: [Gambas-user] Boxed string question<br>To: Tobias Boege <<a href="mailto:taboege@gmail.com">taboege@gmail.com</a>><br></div><br><br><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 11 set 2019 alle ore 14:44 Tobias Boege <<a href="mailto:taboege@gmail.com" target="_blank">taboege@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">...<br>
I would go with the first one.<br></blockquote><div><br></div><div>👍<br></div><div>  <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[...] Unicode is really, really hard [1]. If you want to support it (which<br>
I've been just assuming throughout this thread because you started off<br>
using methods of the String class), then you should use methods that<br>
promise to do it for you for everything and never ever work with Bytes,<br>
even if it means you have to split a string into an array and put it<br>
back together again.<br>
<br>
Regards,<br>
Tobi<br>
<br>
[1] Just a very recent example: <a href="https://hsivonen.fi/string-length/" rel="noreferrer" target="_blank">https://hsivonen.fi/string-length/</a><br></blockquote><div><br></div><div>Tobias,<br>thank you, you are always a master at providing complete information.<br>  <br>To be fair I must say that the second example was aimed at a problem only in Italy (not international), and as you know Italian is very different from German and Spanish.<br><br>However I can reassure you, I have no intention of playing with bytes, unfortunately I and the bytes do not have a good relationship. :-(<br>Proof of this is my unofficial suggestion to Benoit for the introduction of a new ProperCase function. :-D<br><br>Regards<br>Gianluigi</div><div> </div></div></div>
</div></div>