From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Received: by 2002:a37:67d7:: with SMTP id b206mr160820qkc.144.1594654081040; Mon, 13 Jul 2020 08:28:01 -0700 (PDT) X-Received: by 2002:a4a:4555:: with SMTP id y82mr369314ooa.71.1594654080769; Mon, 13 Jul 2020 08:28:00 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.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: Mon, 13 Jul 2020 08:28:00 -0700 (PDT) In-Reply-To: <4666523c-0a72-4a00-ac71-9a6d24195752o@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.231 References: <4666523c-0a72-4a00-ac71-9a6d24195752o@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5c70d600-1dae-490a-b7b6-581141c5743do@googlegroups.com> Subject: Re: Newbie questions re Unicode (1) From: Shark8 Injection-Date: Mon, 13 Jul 2020 15:28:01 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:59446 List-Id: Typically what I do here is: (1) Right click the text-area in GPS, select properties; in the dialog change the setting "character-set" to "Unicode UTF-8". (2) At the top of the file, after "Pragma Ada_2012;" put " Pragma Wide_Character_Encoding(UTF8);" (3) Edit Project Properties: under Build, Switches, Ada there's a text-box at the bottom; append "-gnatw8". I think there's a way to edit the default character-set in new files, but I've forgotten how; you can just do #1 on each new file though.