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 your system, how on earth should Ada.Text_IO even "know" which encoding to apply? (And even if not, how would Ada.Text_IO "know" the proper encoding?) Yes, this is C-esque of the worst kine. However, what would you expect 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ät Weimar, Germany--