On Tue, 2010-07-27 at 12:54:38 +0200, Guillem Jover wrote:
> Package: lcov
> Version: 1.8-2
> Severity: wishlist
> Tags: patch

> Here's a patch to switch the charset for the html output to UTF-8,
> which should allow a wider range of characters from different
> languages.

Buh, forgot to attach the patch. Here it is now.

thanks,
guillem
>From 0111d043411e19549ea5e0c5ff98353ae16093d0 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@hadrons.org>
Date: Tue, 27 Jul 2010 12:05:28 +0200
Subject: [PATCH] lcov: Switch charset from ISO-8859-1 to UTF-8

---
 bin/genhtml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/genhtml b/bin/genhtml
index 03d2f0b..b1fc41b 100755
--- a/bin/genhtml
+++ b/bin/genhtml
@@ -4012,7 +4012,7 @@ sub write_frameset(*$$$)
 	<html lang="en">
 
 	<head>
-	  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	  <title>$_[3]</title>
 	  <link rel="stylesheet" type="text/css" href="$_[1]gcov.css">
 	</head>
@@ -4075,7 +4075,7 @@ sub write_overview(*$$$$)
 
 	<head>
 	  <title>$_[3]</title>
-	  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	  <link rel="stylesheet" type="text/css" href="$_[1]gcov.css">
 	</head>
 
@@ -5583,7 +5583,7 @@ sub get_html_prolog($)
 <html lang="en">
 
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>\...@pagetitle\@</title>
   <link rel="stylesheet" type="text/css" href="\...@basedir\@gcov.css">
 </head>
-- 
1.7.1

Reply via email to