Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Special character 'Â' inserted before copyright symbol

Our source code contains a copyright at the top of every CSS file...

/* Copyright © ... */

Every time CSS files are loaded by the Firefox Style Editor, a special character is inserted before the copyright symbol...

/* Copyright © ... */

It adds an additional special character each time the file is loaded. I do not believe this is limited to Firefox, but that's what I use at the moment for CSS dynamic styling. It's annoying to have to delete this char every time and occasionally it gets into commits and pushed.

Question: How can the special character insertion be prevented?

like image 276
jmelvin Avatar asked Mar 23 '17 03:03

jmelvin


1 Answers

Check if you have set a correct charset-meta-tag in your html head

<meta charSet="UTF-8"/>
like image 161
Matthias Schulz Avatar answered Oct 23 '22 02:10

Matthias Schulz