diff options
author | Yorhel <git@yorhel.nl> | 2009-09-26 11:38:21 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-09-26 11:43:09 +0200 |
commit | b7fbaa1fbce414dfbab49f6d5ae0e9eaf882d45e (patch) | |
tree | 977f5a3d95ce0163ce40b91aba8fbed061d7f983 /lib/VNDB/Handler/VNPage.pm | |
parent | c160933061f58a0f64a6037c1db8b79fb725b495 (diff) |
Properly handle UTF-8 in relation graph SVGs
This is a workaround for a bug in DBD::Pg:
http://rt.cpan.org/Public/Bug/Display.html?id=40199
Also added a charset to the content type header of the relation graph
pages, though this wasn't really necessary for my Firefox to work.
Diffstat (limited to 'lib/VNDB/Handler/VNPage.pm')
-rw-r--r-- | lib/VNDB/Handler/VNPage.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm index a479bf64..f244c098 100644 --- a/lib/VNDB/Handler/VNPage.pm +++ b/lib/VNDB/Handler/VNPage.pm @@ -41,7 +41,7 @@ sub rg { $self->htmlFooter; return; } - $self->resHeader('Content-Type' => 'application/xhtml+xml'); + $self->resHeader('Content-Type' => 'application/xhtml+xml; charset=UTF-8'); # This is a REALLY ugly hack, need find a proper solution in YAWF no warnings 'redefine'; |