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,bde6706c124e6eed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!irazu.switch.ch!ezmp3.switch.ch!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: Filenames in Ada Date: Wed, 23 Nov 2005 18:09:12 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1653090.31FM62oI6I@linux1.krischik.com> NNTP-Posting-Host: host86-131-214-12.range86-131.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com 1132769352 7781 86.131.214.12 (23 Nov 2005 18:09:12 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Wed, 23 Nov 2005 18:09:12 +0000 (UTC) In-Reply-To: <1653090.31FM62oI6I@linux1.krischik.com> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Xref: g2news1.google.com comp.lang.ada:6561 Date: 2005-11-23T18:09:12+00:00 List-Id: Martin Krischik wrote: > Hello > > I was just starting to write a little demo program for Ada.Directories. Aim > was the generation of m3u files for music collection. Allways nice to have > a demo which actually does something. > > However, filenames in music collections contain all sort of funny characters > (especially the my wife's music - allmost entirely in Cyrillic) - no big > deal for modern file systems. But a big deal for Ada as it seams. Not only > are all filenames in Ada.Directories of type String - actually all > filenames anywhere are just String. > > How does one deal with modern (utf-8) filenames in Ada? > > Is there a chance for an add-on package (to late for Ada 2005) or are we > snookered until Ada 2015. > > I also looked at C - they have appropriate functions in using > Wide_Wide_Character for filenames. Aren't there some conversion routines to turn 16/32-bit UTF to/from String in AWS or XML/Ada? Cheers -- Martin