<div dir="ltr">Ok. Thanks for the answer Benoit. <span id="m_-6055485575291026215gmail-result_box" class="m_-6055485575291026215gmail-" lang="en"><span class="m_-6055485575291026215gmail-">I have coded a solution to the problem (and got another one better on this list!).</span><br></span><div><span id="m_-6055485575291026215gmail-result_box" class="m_-6055485575291026215gmail-" lang="en"><span class="m_-6055485575291026215gmail-"><br></span></span></div><div><span id="m_-6055485575291026215gmail-result_box" class="m_-6055485575291026215gmail-" lang="en"><span class="m_-6055485575291026215gmail-">Gambas rules!</span></span></div><div><span id="m_-6055485575291026215gmail-result_box" class="m_-6055485575291026215gmail-" lang="en"><span class="m_-6055485575291026215gmail-"><br></span></span></div><div><span id="m_-6055485575291026215gmail-result_box" class="m_-6055485575291026215gmail-" lang="en"><span class="m_-6055485575291026215gmail-">Best Regards<br></span></span></div><div><span id="m_-6055485575291026215gmail-result_box" class="m_-6055485575291026215gmail-" lang="en"><span class="m_-6055485575291026215gmail-"><br></span></span></div></div><br><div class="gmail_quote"><div dir="ltr">El mié., 29 ago. 2018 a las 19:59, Benoît Minisini (<<a href="mailto:g4mba5@gmail.com" target="_blank">g4mba5@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 27/08/2018 à 18:04, Jorge Carrión a écrit :<br>
> Hello<br>
> I have problems ordering a string [] with the conventions of the Spanish <br>
> language. It seems that, depending to the predefined constants chosen, <br>
> it places the accented letters (áéíóú) at the end of the non-accented <br>
> letters or, at most, at the end of the words with that letter. It also <br>
> seems to ignore the white space character inside the words. Can someone <br>
> confirm if it's my computer or is it a language thing or is it a Gambas bug?<br>
> I attach a small project that illustrates what I want to say.<br>
> Captura de pantalla de 2018-08-27 18-01-40.png<br>
> <br>
> regards<br>
> <br>
<br>
When you sort with gb.Language, you are using the comparison function of <br>
the glibc that is based on the "collation" of the current language.<br>
<br>
Apparently spaces are ignored (and I get the same sort with the French <br>
language), but I can't do anything against that. It's the glibc!<br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>