From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5bcc293dc5642650 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.21.229 with SMTP id y5mr971275pbe.1.1318907746906; Mon, 17 Oct 2011 20:15:46 -0700 (PDT) Path: d5ni24889pbc.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Why no Ada.Wide_Directories? Date: Tue, 18 Oct 2011 05:15:45 +0200 Organization: Ada @ Home Message-ID: References: <9937871.172.1318575525468.JavaMail.geo-discussion-forums@prib32> <418b8140-fafb-442f-b91c-e22cc47f8adb@y22g2000pri.googlegroups.com> <7156122c-b63f-487e-ad1b-0edcc6694a7a@u10g2000prl.googlegroups.com> NNTP-Posting-Host: KHj9AOPOidgt0YptnGtG5g.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.51 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:18534 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2011-10-18T05:15:45+02:00 List-Id: Le Tue, 18 Oct 2011 03:10:35 +0200, Adam Beneschan a = =C3=A9crit: > That's why it doesn't > make sense to have string routines (like > Ada.Strings.Equal_Case_Insensitive or Ada.Character_Handling.To_Upper)= > that work with UTF-8. That would make sens, if String was an array container for _one_ Unicode= = character subset and nothing else. What a mess if someone pass an UTF-8 = = string to such a casing mapping method (*)=E2=80=A6 don't expect to deco= de it = after that. (*) Except if the string is restricted to US-ASCII, in which case, you = will not get anything wrong, but just still a pure US-ASCII string, whic= h = is always UTF-8 by definition. Not the same story for ISO-8859-1 strings= . -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] Java: Write once, Never revisit