Title: Cyrillic in HTML code
Last modified: April 21, 2023

---

# Cyrillic in HTML code

 *  Resolved [angelseee](https://wordpress.org/support/users/angelseee/)
 * (@angelseee)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cyrillic-in-html-code/)
 * Why does Staatic replace Cyrillic with other characters in HTML code?
 * [https://ru.paste.pics/7cbe657142a69af80f05d66a9369ae54](https://ru.paste.pics/7cbe657142a69af80f05d66a9369ae54)
 * How to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Team Staatic](https://wordpress.org/support/users/staatic/)
 * (@staatic)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cyrillic-in-html-code/#post-16676742)
 * Hi [@angelseee](https://wordpress.org/support/users/angelseee/) , first of all
   thanks for trying Staatic to improve the speed and performance of your WordPress
   site.
 * In order for Staatic to be able to extract and replace URLs in the HTML source,
   it relies on a HTML DOM parser. The default HTML DOM parser used is “PHP DOM 
   Wrapper (scotteh/php-dom-wrapper)”, which (from our experience) performs really
   well when processing a large number of pages. However, as a side effect it may
   alter the HTML source, and in this case causing the Cyrillic characters to be
   replaced by numerical character references (NCRs). This is perfectly valid HTML
   and may even improve compatibility with certain clients.
 * However, if you prefer to keep the HTML as original as possible, we recommend
   using “Simple Html Dom Parser (voku/simple_html_dom)”. This can be changed from
   Staatic > Settings > Advanced, and then Crawler > HTML DOM Parser. See also this
   article from our documentation: [https://staatic.com/documentation/administrator-guide/configuration/advanced-settings/#crawler-html-dom-parser](https://staatic.com/documentation/administrator-guide/configuration/advanced-settings/#crawler-html-dom-parser).
 * Does this answer your question?
 *  Thread Starter [angelseee](https://wordpress.org/support/users/angelseee/)
 * (@angelseee)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cyrillic-in-html-code/#post-16676900)
 * Thank you very much for the quick reply! Cyrillic issue resolved! Your Staatic
   is a wonderful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cyrillic in HTML code’ is closed to new replies.

 * ![](https://ps.w.org/staatic/assets/icon.svg?rev=2550278)
 * [Staatic - Static Site Generator for WordPress](https://wordpress.org/plugins/staatic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/staatic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/staatic/)
 * [Active Topics](https://wordpress.org/support/plugin/staatic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/staatic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/staatic/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [angelseee](https://wordpress.org/support/users/angelseee/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/cyrillic-in-html-code/#post-16676900)
 * Status: resolved