guys! My Chrome doesn't properly recognize page encoding of our local TWIKI site. So, every time i enter the site i have to set suitable encoding manually (Settings -> Tools -> Encoding -> Cyrillic (Windows-1251)). I think that the problem could be solved by creating the special script which will change page encoding after site will have downloaded. The problem is i haven't found appropriate script & i don't have mind how to code it. Could you give me right advise in my question? Or i got a wrong way in solving this problem and there are some more suitable decisions of my problem...
You got a wrong way in solving the problem. The solution is to make the server send an appropriate Content-Type header that announces the correct encoding. The methods for this depend on server-side software used. If the server does not announce any encoding, and it cannot easily be made to do that, you can use the
Chrome is quite capable of recognizing the encoding, when it has been announced properly, by the protocols.