Player not registering enemy tag in collision

The commands under an if statement to recognize another object’s tag are not being executed; however, if I move those commands up to the OnCollisionEnter2D statement, it works fine. Anyone know why that is?

private void OnCollisionEnter2D(Collision2D other)
    {
        print("Collision");
        if (other.gameObject.tag == "Ënemy")
        {
            health--;
            print("Collision Enemy");
        }
    }

Why do you check for “Enemy” with a weird E?

Yeah I figured out that was the problem last night; I don’t even know how I managed to type it with a weird accent lmao

I think Mac might do it automagically for you if you just linger your finger on the shift-E for about a second and then press right-arrow…

Yup, just like so, hold, then three right arrows, enter: Ë