title: token recognition error at: 'Â°' for degree symbol in ANTLR4.8 C++ target
body: <p>I'm getting</p>
  <pre><code>token recognition error at: 'Â°' 
  </code></pre>
  <p>for degree symbol and I can't figure out what to do about it.</p>
  <p>In the lexer I have defined</p>
  <p>Degree : '\uC2B0' | '\u00F8';</p>
  <p>The .g4 files for lexer and parser are stored in UTF-8. The input file is stored in UTF-8 as well. When I look at the input file in a hex editor the degree sign is encoded as c2 b0.</p>
  <p>Code to read in the input file and parse</p>
  <pre><code>std::ifstream is(inputFile);
  
  antlr4::ANTLRInputStream antlrIs(is);
  TagsLexer lexer(&amp;antlrIs);
  antlr4::CommonTokenStream tokens(&amp;lexer);
  TagsParser parser(&amp;tokens);
  TagsParser::TagsContext* tagsContext = parser.tags();
  </code></pre>