I connect the block "Share" according to the instructions :

<script src="//yastatic.net/share2/share.js"></script> <div class="ya-share2"></div> 

When you hover over a button on Russian social networks (classmates, VKontakte ...), the name is displayed incorrectly:

Button homing

How can I fix this?

  • one
    Change the coding. - user207618
  • and what about the encoding? - Mojito

1 answer 1

If the page encoding is different from UTF-8 , when connecting the script, the encoding must be specified explicitly:

 <script src="//yastatic.net/share2/share.js" charset="utf-8"></script> 
  • Thanks Roman !!! Everything is working! - Sergey Malygin