Danish characters in vcl_error.

Lars Jørgensen itlj at gyldendal.dk
Fri Mar 27 14:12:59 CET 2009


I'm doing this:

sub vcl_error {
     set obj.http.Content-Type = "text/html; charset=utf-8";
     synthetic {"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     <h1>Vi arbejder på systemet </h1>
     return (deliver);

And getting this (omitting DOCTYPE for clarity):

    <h1>Vi arbejder p�77777703�77777645 systemet </h1>

What am I doing wrong?

Lars Jørgensen

More information about the varnish-misc mailing list