From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,347f7cbe27451012 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: [ranting] Take Command Plugin, Win32Ada and Ada.Directories Date: Fri, 16 Nov 2007 00:54:52 -0600 Organization: Jacob's private Usenet server Message-ID: References: <3343563.psPA6e9Oqh@linux1.krischik.com> <1pkwbr5s12cf9$.9k2umlcxqzbr.dlg@40tude.net> <473A1241.90702@obry.net> <1vrktz0rlauvu.1nm0xh8n2wl90.dlg@40tude.net> <473ab86d$1@news.post.ch> <473ac065$0$16659$9b4e6d93@newsspool3.arcor-online.net> <473af503$1@news.post.ch> <1195047068.1007.278.camel@kartoffel> <16yvzzr9fekdo.1mb7ng8z7yt49$.dlg@40tude.net> <1195053185.1007.282.camel@kartoffel> <5422260.23vBBKi2sW@linux1.krischik.com> <1vw3m8dqxjoo6$.10mycldk5j8pq.dlg@40tude.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1195195876 4723 69.95.181.76 (16 Nov 2007 06:51:16 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 16 Nov 2007 06:51:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1914 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 Xref: g2news1.google.com comp.lang.ada:18430 Date: 2007-11-16T00:54:52-06:00 List-Id: "Dmitry A. Kazakov" 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.