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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.129.73.150 with SMTP id w144mr5974659ywa.28.1477066403148; Fri, 21 Oct 2016 09:13:23 -0700 (PDT) X-Received: by 10.157.39.131 with SMTP id c3mr2625307otb.15.1477066403100; Fri, 21 Oct 2016 09:13:23 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!g45no1204676qte.1!news-out.google.com!w143ni639itb.0!nntp.google.com!66no1514310itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 21 Oct 2016 09:13:22 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3cda:7600:932b:b705:6315:5a80; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3cda:7600:932b:b705:6315:5a80 References: <86f0d2fe-d498-4bc4-bb9d-e34629c89bb4@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Bug in Ada - Latin 1 is not a subset of UTF-8 From: Lucretia Injection-Date: Fri, 21 Oct 2016 16:13:23 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32155 Date: 2016-10-21T09:13:22-07:00 List-Id: On Friday, 21 October 2016 13:28:52 UTC+1, G.B. wrote: > Test_Bom : constant My_Utf_8_String :=3D Bom & "ABC"; > Test_US : constant My_Utf_8_String :=3D "ABC"; > Test_GR : constant My_Utf_8_String :=3D "=CE=91=CE=92=CE=93"; > Test_RU : constant My_Utf_8_String :=3D "=D0=90=D0=91=D0=93"; > Test_Xx : constant My_Utf_8_String :=3D > ('A', Character'Val (16#E4#), 'E'); Also, the most inefficient string ever: Appended : My_UTF_8_String :=3D "App"; Appended :=3D Some_Other_String & 'e'; -- Call's Is_Well_Formed for each = assignment! Sloooooooooooooow Appended :=3D Some_Other_String & 'n'; Appended :=3D Some_Other_String & 'd';