PHP htmlspecialchars_decode doesn’t handle nordic/german characters like å, ä and ö
The PHP functions htmlspecialchars and it’s reverse htmlspecialchars_decode only handles the following characters: ‘&’ (ampersand) becomes ‘&’ ‘”‘ (double quote) becomes ‘"’ when ENT_NOQUOTES is not set. ”’ (single quote) becomes ‘'’ only when ENT_QUOTES is set. ‘<‘ (less than) becomes ‘<’ ‘>’ (greater than) becomes ‘>’ If you want to output html text containing nordic/german characters […]