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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.98.150.142 with SMTP id s14mr7339213pfk.33.1476735535950; Mon, 17 Oct 2016 13:18:55 -0700 (PDT) X-Received: by 10.157.11.146 with SMTP id 18mr2454516oth.13.1476735535822; Mon, 17 Oct 2016 13:18:55 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!66no486855itl.0!news-out.google.com!w143ni1199itb.0!nntp.google.com!e187no1537700itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 17 Oct 2016 13:18:55 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3cda:7600:932b:b705:6315:5a80; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3cda:7600:932b:b705:6315:5a80 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <86f0d2fe-d498-4bc4-bb9d-e34629c89bb4@googlegroups.com> Subject: Bug in Ada - Latin 1 is not a subset of UTF-8 From: Lucretia Injection-Date: Mon, 17 Oct 2016 20:18:55 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:32098 Date: 2016-10-17T13:18:55-07:00 List-Id: Hi, Whilst binding SDL_TTF function, I was going to Overload the TTF_Size* functions, but I couldn't do that because UTF_8_String is a subtype of String; String is Latin 1 and Latin 1 is not a subset of UTF-8, ASCII is. UTF_String should be implemented as an array like String and then UTF_8_String should be a subtype of UTF_String or a renaming, if that is the intent. Luke.