From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) 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.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: XMLAda & unicode symbols Date: Sat, 19 Jun 2021 21:53:47 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 19 Jun 2021 19:53:47 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="4e33f0409ad57288c291a058b1a521a4"; logging-data="17896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18A5lTm38G6Ld0g55mdqQYlMtA49F3uwQg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 Cancel-Lock: sha1:/Oj39Un2PKfPUvjvSX49SuvG/yQ= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:62249 List-Id: On 6/19/21 8:28 PM, 196...@googlemail.com wrote: > I'm creating SVG files with XMLAda and I need to have a degree symbol within some text. > > I have: > procedure Add_Min_Max (Min_Max_Str : String; X_Pos : String; Y_Pos : String) is The degree symbol is part of Latin-1, so why not include it directly in your string? S : constant String := "50" & Ada.Characters.Handling.Latin_1.Degree_Sign; -- Jeff Carter "I would never want to belong to any club that would have someone like me for a member." Annie Hall 41