title: Jackson error : unacceptable character '' (0x0) special characters are not allowed
body: <p>I'm trying to parse yaml data using jackson from MySQL but I get error saying there is a special character. I get error something like this :</p>
  
  <pre><code>com.fasterxml.jackson.databind.JsonMappingException: special characters are not allowed 
  [Source: java.io.StringReader@5528a42c; line: 13, column: 68] (through reference chain: com.app.ResultContentModel["opinion"])
  ...
  Caused by: com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.YAMLException: special characters are not allowed
   at [Source: java.io.StringReader@5528a42c; line: 13, column: 68]
  ...
  Caused by: unacceptable character '' (0x0) special characters are not allowed
  in "'reader'", position 1027
  </code></pre>
  
  <p>My dependencies file look like this :</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;mysql&lt;/groupId&gt;
          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
          &lt;version&gt;5.1.6&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.dataformat&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-dataformat-yaml&lt;/artifactId&gt;
          &lt;version&gt;2.8.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I'm trying to replace it using regex :</p>
  
  <pre><code>Pattern nonASCII = Pattern.compile("[^\\x00-\\x7f]");//("[^\\x00-\\x7f]");
  resultContent = Normalizer.normalize(nonASCII.matcher(resultContent).replaceAll("");
  ResultContentModel rc = mapper.readValue(resultContent, ResultContentModel.class);
  </code></pre>
  
  <p>But still didn't work. What should I do?</p>