Weird character after text cursor

There is a problem I encountered whenever CodeMirror gets CodeMirror-focused class. After the text cursor it shows latin capital letter A with circumflex which seems a part of the cursor itself. Has anyone seen it before?

This probably means the script containing CodeMirror is interpreted with the wrong text encoding. By default, the script doesn’t contain any non-ascii text, but your build process might have introduced some, probably encoding it as utf-8. If your web server isn’t adding a charset header, some browsers will interpret script files with another encoding (probably latin1) and thus garble some of the strings. You can fix this by either getting your build process to output ascii, or by configuring your web server to add charset=utf8 after the content-type header.

Thanks, Man, worked like a dream.