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=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.IIfIc3CB/+nKo+wKq8+a0g.user.gioia.aioe.org!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Newbie questions re Unicode (1) Date: Mon, 13 Jul 2020 17:59:44 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <4666523c-0a72-4a00-ac71-9a6d24195752o@googlegroups.com> <5c70d600-1dae-490a-b7b6-581141c5743do@googlegroups.com> NNTP-Posting-Host: IIfIc3CB/+nKo+wKq8+a0g.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) Cancel-Lock: sha1:y88AaklGJqUoQ6XpfEhb5XopsK0= X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:59447 List-Id: Shark8 writes: > 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". Do you have to do all 3? Personally I wouldn't bother with (2) because (a) it's the default; unless (b) you're using GNAT CE, in which case it's the only possibility!