From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:181d:: with SMTP id t29mr2266996qtc.309.1631366790343; Sat, 11 Sep 2021 06:26:30 -0700 (PDT) X-Received: by 2002:a05:6902:124c:: with SMTP id t12mr3549359ybu.91.1631366790131; Sat, 11 Sep 2021 06:26:30 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 11 Sep 2021 06:26:29 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=94.31.101.123; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.101.123 References: <06dbbe8e-737e-44c2-9e9c-40e8f8aade2fn@googlegroups.com> <234ee351-3abb-445e-9d34-d5abd7a8a9b6n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4b1683a1-6ad5-4692-b671-807db5b51f27n@googlegroups.com> Subject: =?UTF-8?B?UmU6IEd0a0FkYSBhbmQg4oKs?= From: AdaMagica Injection-Date: Sat, 11 Sep 2021 13:26:30 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62704 List-Id: Dmitry A. Kazakov schrieb am Samstag, 11. September 2021 um 12:04:44 UTC+2: > ... > Ada 2X supports Unicode and GNAT supports Unicode sources.=20 >=20 > I never tried it but I suppose the following should work:=20 >=20 > Strings_Edit.UTF8.Handling.To_UTF8 ('=E2=82=AC');=20 >=20 > Here '=E2=82=AC' should be resolved to Wide_Character'('=E2=82=AC') and t= hen converted=20 > to a UTF-8 encoded String.=20 This does not work. Source files are in Latin_1 per default and =E2=82=AC i= s beyond 255, so GNAT cannot handle '=E2=82=AC'. I tried to set the source file's charact= er set to Unicode UTF16 (in GPS, from the file's context menu choose "Properties..= .") with terrible effects. A real nogo. > As for labels, icons etc, I use GTK style properties.=20 I dare not try this... > P.S. Inventors of GTK CSS sheets apparently misspelled the word "sheet",= =20 > they should have used the letter 'i'! (:-)) Nice