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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!medsec1.medien.uni-weimar.de!lucks From: Stefan.Lucks@uni-weimar.de Newsgroups: comp.lang.ada Subject: Re: Is this expected behavior or not Date: Sun, 7 Apr 2013 20:17:43 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <1gnmajx2fdjju.1bo28xwmzt1nr.dlg@40tude.net> <3gv2jwc95otm.pl2aahsh9ox8.dlg@40tude.net> <1gkxiwepaxvtt$.u3ly33rbwthf.dlg@40tude.net> <1fmcdkj58brky.bjedt0pr39cd$.dlg@40tude.net> <1bj564vat3q1j$.1s4d00rlzx4ux$.dlg@40tude.net> <4hzv51v872q2$.1imijbwd7heqm$.dlg@40tude.net> NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1314943746-1365358664=:2487" X-Trace: tigger.scc.uni-weimar.de 1365358738 17468 141.54.178.228 (7 Apr 2013 18:18:58 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Sun, 7 Apr 2013 18:18:58 +0000 (UTC) X-X-Sender: lucks@debian In-Reply-To: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Xref: news.eternal-september.org comp.lang.ada:14911 Date: 2013-04-07T20:17:43+02:00 List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1314943746-1365358664=:2487 Content-Type: TEXT/PLAIN; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 6 Apr 2013, Dmitry A. Kazakov wrote: > On Fri, 5 Apr 2013 21:55:27 +0200, Stefan.Lucks@uni-weimar.de wrote: >> In any case, Ada.Text_IO.Create is a good example. [...] >> No Universal_ type will solve this issue -- you just cannot get rid of >> explicit conversions. > > You can. Actually, what people do right now is implicit unchecked > conversions from UTF-8 to String. It is even worse than PL/1, it is plain > wrong, C-esque of worst kind. Unfortunately Ada simply offers no means to > design it right. If you have mounted different filesystems using different encodings on=20 your system, how on earth should Ada.Text_IO even "know" which encoding to= =20 apply? (And even if not, how would Ada.Text_IO "know" the proper=20 encoding?) Yes, this is C-esque of the worst kine. However, what would you expect=20 when making system calls with operation systems written in C? ------ I love the taste of Cryptanalysis in the morning! ------ --Stefan.Lucks (at) uni-weimar.de, Bauhaus-Universit=E4t Weimar, Germany-- --8323329-1314943746-1365358664=:2487--