bad national characters in synthetic

Václav Bílek v.bilek at 1art.cz
Thu Aug 27 08:58:13 CEST 2009


Helo

I have tried to set up localized error pages but varnish seems to return
screwd national chars.

part of vlc:
	set obj.http.Content-Type = "text/html; charset=utf-8";
        synthetic {"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <meta name="robots" content="nofollow,noindex">
        <meta http-equiv="cache-control" content="no-cache">
</head>
<body>
        <div id="main">
                        Děkujeme za pochopení, Tým
                </p>
        </div>
</body>
</html>

        "};


returned from browser:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta name="robots" content="nofollow,noindex">
	<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
	<div id="main">
			D�77777704�77777633kujeme za pochopen�77777703�77777655,
T�77777703�77777675m
		</p>
	</div>

</body>
</html>



Any sugestions?

Vasek Bilek



More information about the varnish-misc mailing list