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,46e22931b80b961d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Fri, 14 Jul 2006 18:37:27 +0200 From: Georg Bauhaus Organization: elsewhere User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada.Directories and multibyte-filename References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <44b7c7ef$0$6682$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Date: 14 Jul 2006 18:35:59 MEST NNTP-Posting-Host: 61445af8.newsread4.arcor-online.net X-Trace: DXC=2>?;nCcFOVkGI7?jFVGnfc:ejgIfPPlddjW\KbG]kaMh^ZX8m\4PXS`HX\7OOPEn3k=0F65HQV8if]1kP1HEFIDj X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:5698 Date: 2006-07-14T18:35:59+02:00 List-Id: Y.Tomino wrote: > Searching directory with Ada.Directories, it raises Name_Error for > normal multibyte-filename. > > Test: > with Ada.Text_IO; use Ada.Text_IO; > with Ada.Directories; use Ada.Directories; > procedure Test is Using GNAT GPL 2005 on Ubuntu for translating this program, it works just fine. (The directory has entries "Hällü.file" and "ぁ".) Linux based OSs tend to use UTF-8 throughout, i.e. 8bit bytes. This is probably the advantage here. (Perhaps many western programmers think that a seven segment display is quite sufficent, because they are used to it. ;-) > > It is not possible to use Ada.Directories in the regions having > multibyte-characters... >