Обсуждение: incorrect charset in HTML report

Поиск
Список
Период
Сортировка

incorrect charset in HTML report

От
Alexandr Ciornii
Дата:
I use Russian Windows XP, pgAdmin 1.14.2.
When doing a dependency report for a table pgAdmin creates incorrect
http-equiv string. Firefox and IE do not understand it, showing
Russian characters incorrectly and this behaviour is correct.
String is "<meta http-equiv="Content-Type" content="utf-8" />"
and it should be "<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />".
After modification, Firefox and IE work as expected.

-- 
Alexandr Ciornii, http://chorny.net


Re: incorrect charset in HTML report

От
Magnus Hagander
Дата:
On Sun, May 27, 2012 at 11:04 PM, Alexandr Ciornii <alexchorny@gmail.com> wrote:
> I use Russian Windows XP, pgAdmin 1.14.2.
> When doing a dependency report for a table pgAdmin creates incorrect
> http-equiv string. Firefox and IE do not understand it, showing
> Russian characters incorrectly and this behaviour is correct.
> String is "<meta http-equiv="Content-Type" content="utf-8" />"
> and it should be "<meta http-equiv="Content-Type" content="text/html;
> charset=utf-8" />".
> After modification, Firefox and IE work as expected.

That's clearly broken, yes.

I've applied a patch for this, will be included in the next releases.

Thanks for the report!

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/