From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Ada and Unicode Date: Mon, 19 Apr 2021 15:24:36 +0200 Organization: Adalog Message-ID: References: <607b5b20$0$27442$426a74cc@news.free.fr> <86mttuk5f0.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 19 Apr 2021 13:24:34 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="5ea68e5cf617b2971e22bb15afb0c03b"; logging-data="11621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18G0PApU0akh0ZcKiYR2jvr" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 Cancel-Lock: sha1:GOUQweuy8OpMe+FZxGHD1RpB/eM= In-Reply-To: Content-Language: fr Xref: reader02.eternal-september.org comp.lang.ada:61845 List-Id: Le 19/04/2021 à 15:00, Luke A. Guest a écrit : > They're different types and should be incompatible, because, well, they > are. What does Ada have that allows for this that other languages > doesn't? Oh yeah! Types! They are not so different. For example, you may read the first line of a file in a string, then discover that it starts with a BOM, and thus decide it is UTF-8. BTW, the very first version of this AI had different types, but the ARG felt that it would just complicate the interface for the sake of abusive "purity". -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52 https://www.adalog.fr