comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: XMLAda & unicode symbols
Date: Mon, 21 Jun 2021 21:47:02 +0100	[thread overview]
Message-ID: <ly35tbgd2x.fsf@pushface.org> (raw)
In-Reply-To: a3dc3722-9425-4d57-a1fd-ddee9d0f5f20n@googlegroups.com

"196...@googlemail.com" <1963bib@googlemail.com> writes:

> On Monday, 21 June 2021 at 16:37:21 UTC+1, Simon Wright wrote:
>> "196...@googlemail.com" <196...@googlemail.com> writes: 
>> 
>> > That's the degree symbol, what I really need is the degree centigrade 
>> > symbol which is U+2103. 
>> > 
>> > Having Character'Val (16#21#) & Character'Val (16#03#) fails at runtime.
>> That's because the utf-8 encoding is 3 octets, 0xE2 0x84 0x83
>
> Yup, that works, but just how the heck do you get from U+2103 to those
> 3 octets?
>
> I can see from
> http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=2103&mode=hex that it
> gives it.

Google was my friend (not that site, tho)

  parent reply	other threads:[~2021-06-21 20:47 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19 18:28 XMLAda & unicode symbols 196...@googlemail.com
2021-06-19 19:53 ` Jeffrey R. Carter
2021-06-20 17:02   ` 196...@googlemail.com
2021-06-20 17:23     ` Dmitry A. Kazakov
2021-06-20 17:58       ` 196...@googlemail.com
2021-06-20 18:16         ` Dmitry A. Kazakov
2021-06-21 19:40           ` 196...@googlemail.com
2021-06-21 20:18             ` Dmitry A. Kazakov
2021-06-21 15:37         ` Simon Wright
2021-06-21 19:49           ` 196...@googlemail.com
2021-06-21 20:23             ` Dmitry A. Kazakov
2021-06-21 20:47             ` Simon Wright [this message]
2021-06-22  0:30             ` Spiros Bousbouras
2021-06-20 18:21     ` Jeffrey R. Carter
2021-06-20 18:47       ` Dmitry A. Kazakov
2021-06-20 22:50         ` Jeffrey R. Carter
2021-06-21  4:16           ` Marius Amado-Alves
2021-06-21  9:39             ` Jeffrey R. Carter
2021-06-21  6:14           ` Dmitry A. Kazakov
2021-06-19 21:24 ` Simon Wright
2021-06-20 17:10   ` 196...@googlemail.com
2021-06-21 15:26     ` Simon Wright
2021-06-21 18:33       ` Emmanuel Briot
2021-06-21 20:06         ` 196...@googlemail.com
2021-06-21 21:26         ` Simon Wright
2021-06-22  6:52           ` Emmanuel Briot
2021-06-21 21:22       ` Simon Wright
2021-06-21  6:07 ` Vadim Godunko
replies disabled

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