I tried to run my code in my google chrome browser (version:71.0.3578.98) on a local python https server but when I try to run it the "C°" is "C°". When I lock in the developer tools it is the same but in the code I have on my Desktop it's "C°" and not "C°".
I tried to use diffrent Browsers (FireFox, Opera) but nothing works. I found out that when I download the chrome plugin (Set Character Encoding) and set the encoding to UTF-8 it works and there stands "C°" but why is chrome this not doing by default
var temp = 5;
var str = "Now: " + temp + "C°";
console.log(str);
I expected that the chrome browser shows my "Now: 5C°" and not "Now: 5C°".