• Trantarius
    link
    fedilink
    331 year ago

    Well letters don’t really have a single canonical shape. There are many acceptable ways of rendering each. While two letters might usually look the same, it is very possible that some shape could be acceptable for one but not the other. So, it makes sense to distinguish between them in binary representation. That allows the interpreting software to determine if it cares about the difference or not.

    Also, the Unicode code tables do mention which characters look (nearly) identical, so it’s definitely possible to make a program interpret something like a Greek question mark the same as a semicolon. I guess it’s just that no one has bothered, since it’s such a rare edge case.

      • @[email protected]
        link
        fedilink
        English
        211 year ago

        In cases where something looks stupid but your knowledge on it is almost zero it’s entirely possible that it’s not.

        The people that maintain Unicode have put a lot of thought and effort into this. Might be helpful to research why rather than assuming you have a better way despite little knowledge of the subject.

          • @[email protected]
            link
            fedilink
            English
            81 year ago

            Again you do not because the world consists of more than your interests and job description.

              • @[email protected]
                link
                fedilink
                English
                1
                edit-2
                1 year ago

                You know the problem but not the set of reasonable or practical solutions.

                Anyways I and l look identical too in many fonts. Should we make them the same letter?

                • @[email protected]
                  link
                  fedilink
                  01 year ago

                  No, but that’s what Unicode does.

                  The solution is to force font creators to be fucking reasonable, just like how the Cyrillic A looks exactly like the Latin A. They are the same letter. The letters L and I are totally different (in handwriting at least)

                  They already did that for CJK. Make characters that look the same in handwriting b have be same codepointer.

          • @[email protected]
            link
            fedilink
            21 year ago

            I and l also look identical in many fonts. So you already have this problem in ascii. (To say nothing of all the non-printing characters!)

            If your security relies on a person being able to tell the difference between two characters controlled by an attacker your security is bad.

              • @[email protected]
                link
                fedilink
                21 year ago

                You really can’t though. For several reasons. Which would have been apparent to you had you bothered to actually create your example link to http://аpple.com or to understand this problem.