P粉7558637502023-08-17 09:07:07
You can use the following ways to represent them in js files:
import utf8 from "utf8"; const encoded = utf8.encode(Søgning)
If you use this in a .jsx file, there is no need to encode special characters. You can use it like this in a .jsx file:
render() { return ( <div> Søgning. Søgning. </div> ); }