I have implemented the following CSS code to style a button that is used to remove a tag:
button.close:after {
content: '×';
}
As a result, the button looks like this:
https://i.sstatic.net/MhKI5.png
However, there is an issue where the character ×
sometimes gets replaced by Ã-
randomly. I initially thought it might be related to encoding, but if it were, I believe it would be a consistent problem. The issue occurs infrequently, and currently, it is not happening (I will provide another screenshot when it does).
The CSS code is sourced from a .less
file that I compile, minify, and concatenate.
How can I ensure that the character ×
is always displayed correctly?