Interested in the following:
The html encoding is set as utf-8, but part of the text on the page in win-1251. Is it possible to set win-1251 encoding for this text using html or js (or transcode to utf-8) For example:
<html> <head> <meta charset="utf-8"/> </head> <body> <h1>UTF-8 текст</h1> <ul> <li charset="win-1251">Win-1251 текст</li> </ul> </body> </html>
With the text itself in a different encoding, nothing can be done, you can only statically change the "wrapper" of html around.