From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: [ranting] Take Command Plugin, Win32Ada and Ada.Directories
Date: Fri, 16 Nov 2007 00:54:52 -0600
Date: 2007-11-16T00:54:52-06:00 [thread overview]
Message-ID: <fhjel4$4jj$1@jacob-sparre.dk> (raw)
In-Reply-To: 1vw3m8dqxjoo6$.10mycldk5j8pq.dlg@40tude.net
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
news:1vw3m8dqxjoo6$.10mycldk5j8pq.dlg@40tude.net...
...
> So the options are:
>
> 1. Wide_Wide_String
> 2. Wide_String encoded as UTF-16
> 3. String encoded as UFT-8 or else as UTF-16
>
> The first needs conversions beyond just adding NUL. The last two are just
> not Ada strings. Among these three evils the third one in UTF-8 is IMO the
> least one.
My recollection was that the ARG decided that the most sensible way to
handle localized file names was with UTF-8 strings (that is, Dmitry's choice
3). In that case, there is no need for new functionality and thus only
"String" is supported for file names. I recall arguing that in that case we
should provide some Wide_String <=> UTF-8 string converters, but for
whatever reason few others thought that was important.
One could imagine a UTF_8_String type, but since it would work identically
to String in all cases, it didn't seem worth the vast changes. (I felt that
way about Really_Wide_String or Wide**2_String or whatever it's called ;-0
too, but no joy there.)
Randy.
next prev parent reply other threads:[~2007-11-16 6:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 19:53 [ranting] Take Command Plugin, Win32Ada and Ada.Directories Martin Krischik
2007-11-13 8:57 ` Dmitry A. Kazakov
2007-11-13 9:52 ` Martin Krischik
2007-11-13 21:08 ` Pascal Obry
2007-11-14 8:33 ` Dmitry A. Kazakov
2007-11-14 8:56 ` Martin Krischik
2007-11-14 9:31 ` Georg Bauhaus
2007-11-14 11:19 ` Vadim Godunko
2007-11-14 14:22 ` Dmitry A. Kazakov
2007-11-14 20:15 ` Martin Krischik
2007-11-15 8:37 ` Dmitry A. Kazakov
2007-11-14 13:15 ` [ranting] " Martin Krischik
2007-11-14 13:31 ` Georg Bauhaus
2007-11-14 14:36 ` Dmitry A. Kazakov
2007-11-14 15:13 ` Georg Bauhaus
2007-11-14 15:35 ` Dmitry A. Kazakov
2007-11-14 16:22 ` Georg Bauhaus
2007-11-14 19:32 ` Martin Krischik
2007-11-15 8:54 ` Dmitry A. Kazakov
2007-11-16 6:54 ` Randy Brukardt [this message]
2007-11-14 19:23 ` Martin Krischik
2007-11-14 20:05 ` Georg Bauhaus
2007-11-14 19:21 ` Martin Krischik
2007-11-14 9:36 ` Dmitry A. Kazakov
2007-11-14 18:38 ` Martin Krischik
2007-11-15 1:51 ` John W. Kennedy
2007-11-15 9:08 ` Dmitry A. Kazakov
2007-11-14 8:49 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox