Bad Encoding Scenario

Select scenario:
Cyrillic German Mixed CP1252 Latin-1 Invalid UTF-8
Enable iframe (mixed encoding)
Challenge: The HTTP Content-Type header declares a wrong charset. Your scraper must detect the actual encoding and decode the content correctly.
Declared charset (header)latin-1
Actual encoding (body)utf-8
ScenarioRussian text encoded as UTF-8 but header declares charset=latin-1

Cyrillic Content

Привет мир! Это тестовая страница с кириллицей.

Москва — столица России.

Борщ, пельмени, блины — традиционные русские блюда.

Достоевский написал «Преступление и наказание» в 1866 году.


All scenarios | Home