The pre tag sometimes displays question marks in a diamond.
Utf-8 encoding

enter image description here

Who faced?

  • Does this happen to the same page steadily or does multiple reboots of the same page give different results? - tutankhamun

1 answer 1

This problem occurs in cases where the page is broken into pieces, in order to send to the client in separate packets, and the border of the piece passes through one of the multibyte characters. The unicode character "e" consists of two bytes: one byte falls into one packet, and the other byte into another packet. TCP usually manages to assemble all packets into a solid message without errors, but sometimes third-party software corrupts packets, which causes unicode characters on borders to become unreadable. Such a problem, for example, creates browser monitoring from NewRelic .

There is no definitive solution. First of all, you need to figure out what kind of software makes changes to the packages. After that, if you have access to this software, you can try to correct the error. If you have access to the support of this software, then go there. Or just refuse to use it. In particular, in NewRelic, you can disable browser monitoring, leaving only the server monitoring.

  • there is a pjax plugin ... github.com/defunkt/jquery-pjax - Victor Victor
  • @ Victor Victor, how did you solve the problem? Abandoned the use of the plugin and the problem disappeared? - Almeonamy
  • I have not solved the problem. I don't want to give up the plugin at all, I need it. I will continue to look for a solution. If I don’t find it, I’ll look for a plug-in analog ... - Victor Victor