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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5b811babbc7e6a7a X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Int. letters & is_basic Date: 1996/02/17 Message-ID: #1/1 X-Deja-AN: 139875798 references: <4g0vtl$80a@toads.pgh.pa.us> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-02-17T00:00:00+00:00 List-Id: Tore asks "I'm wondering about is_basic and to_basic in ada.character.handling. It seems like the point is to take one letter with some kind of marking, and turn it into the letter without the marking (e.g. in Norwegian we use a_grave and e_acute, but they are not letters in the alphabet). If this is the point, then they are not defined correctly (at least not for the Norwegian letters o_oblique_stroke and a_ring which are letters in the alphabet). As I wrote in another posting, I'm making a package for codepage 850. I'm also planning to make cp850.handling. If is_basic and to_basic isn't supposed to do what I indicate above, then I'll probably make something that does what I want :-). Anyway, I would like to know if there are other letters in latin_1 which is treated wrong by is_basic. My main concern is sorting. All comments are welcome!" Sorry, Basic and To_Basic turn A-ring into A. That's the way it is defined. Yes, I know perfectly well that A-ring has nothing to do with A, but that's still the way it is defined. You will need to define your own mappings that work sensibly :-)