Danish characters in vcl_error.
Lars Jørgensen
ITLJ at gyldendal.dk
Tue Mar 31 13:30:47 CEST 2009
Hi Audun,
Great, thank you for your help!
--
Lars
Den 27/03/2009 kl. 14.26 skrev Audun Ytterdal:
> You have to html-encode the danish characters..
>
> Like this:
>
> <h1>Beklager, en feil har oppstått på en av VGs
> tjenester</h1>
>
>
>
> On Fri, Mar 27, 2009 at 2:12 PM, Lars Jørgensen <itlj at gyldendal.dk>
> wrote:
>> Hi,
>>
>> 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"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html>
>> <body>
>> <h1>Vi arbejder på systemet </h1>
>> <body>
>> </html>
>> "};
>> return (deliver);
>>
>> And getting this (omitting DOCTYPE for clarity):
>>
>> <html>
>> <body>
>> <h1>Vi arbejder p�77777703�77777645 systemet </h1>
>> body>
>> </html>
>>
>> What am I doing wrong?
>>
>>
>> --
>> Lars Jørgensen
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at projects.linpro.no
>> http://projects.linpro.no/mailman/listinfo/varnish-misc
>>
>
>
>
> --
> Audun Ytterdal
> http://audun.ytterdal.net
More information about the varnish-misc
mailing list