The former is the correct spelling, but outside of $\mathrm\LaTeX$ and its `\H` command it's hard to enter, so a lot of people just use umlauts which are easier to type on a keyboard.
The former is the correct spelling, but outside of $\mathrm\LaTeX$ and its `\H` command it's hard to enter, so a lot of people just use umlauts which are easier to type on a keyboard.