<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JSON displayed with wrong encoding (i.e. not unicode)"
   href="https://bugs.webkit.org/show_bug.cgi?id=197369">197369</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>JSON displayed with wrong encoding (i.e. not unicode)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari Technology Preview
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iPhone / iPad
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>iOS 12
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned@lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sdeleuze@pivotal.io
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hey,

I am one of the committer of Spring Framework working on our web support (Spring MVC) and we would like to stop specifying artificially UTF-8 charset for JSON (with "application/json;charset=utf-8", see <a href="https://github.com/spring-projects/spring-framework/issues/22788">https://github.com/spring-projects/spring-framework/issues/22788</a> for more details) since per spec "application/json" does not support charset parameter (<a href="https://tools.ietf.org/html/rfc7159#section-11">https://tools.ietf.org/html/rfc7159#section-11</a>) and UTF-8 should be used by default (<a href="https://tools.ietf.org/html/rfc8259#section-8.1">https://tools.ietf.org/html/rfc8259#section-8.1</a>). This very annoying bug has been fixed in September 2017 in Chrome (see <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=438464">https://bugs.chromium.org/p/chromium/issues/detail?id=438464</a>) and Firefox renders as well correctly special characters with "application/json" so Safari is the last big player to not handling that correctly.


To reproduce the bug, as described in the Chrome issue please compare rendering of <a href="http://thax.hardliners.org/issue438464.php?json=1">http://thax.hardliners.org/issue438464.php?json=1</a> with Firefox, Chrome and Safari. Firefox and Safari render correctly the special characters while Safari does not.

Thanks in advance for your help on this issue.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>