comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Newbie questions re Unicode (1)
Date: Mon, 13 Jul 2020 08:28:00 -0700 (PDT)	[thread overview]
Message-ID: <5c70d600-1dae-490a-b7b6-581141c5743do@googlegroups.com> (raw)
In-Reply-To: <4666523c-0a72-4a00-ac71-9a6d24195752o@googlegroups.com>

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.

  parent reply	other threads:[~2020-07-13 15:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12  8:14 Newbie questions re Unicode (1) Ian Douglas
2020-07-12  8:25 ` Simon Wright
2020-07-12  8:42   ` Ian Douglas
2020-07-12 18:43     ` Simon Wright
2020-07-12 20:08       ` Ian Douglas
2020-07-18 12:20       ` Bob Goddard
2020-07-21 19:57         ` Ian Douglas
2020-07-25 11:44           ` 196...@googlemail.com
2020-07-27 13:46             ` Ian Douglas
2020-07-27 20:26           ` Simon Wright
2020-07-29  7:28             ` Ian Douglas
2020-07-29  7:34               ` Ian Douglas
2020-07-29 15:26                 ` J-P. Rosen
2020-07-13 15:28 ` Shark8 [this message]
2020-07-13 16:59   ` Simon Wright
2020-07-21 15:36     ` Shark8
2020-07-21 19:54   ` Ian Douglas
2020-07-21 20:11     ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox