This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HTTP header doesn't specify utf-8

On Thu, 26 Jul 2012, Jonathan Wakely wrote:
>> This page: (and other
>> pages) don't include a utf-8 charset in the content-type http header,
> See and

I am applying the patch below to our global .htaccess file which,
according to my testing, does the trick.

On Thu, 26 Jul 2012, Benjamin De Kosnik wrote:
> ouch. I had forgotten about this, which is now PR 54102. 

Still, can you please continue to look into this, Benjamin? 
Having proper (XML) headers as part of the individual documents
still will be good.


Index: .htaccess
RCS file: /cvs/gcc/wwwdocs/htdocs/.htaccess,v
retrieving revision 1.28
diff -u -3 -p -r1.28 .htaccess
--- .htaccess	10 Oct 2009 20:36:09 -0000	1.28
+++ .htaccess	26 Aug 2012 19:40:59 -0000
@@ -1,3 +1,5 @@
+AddDefaultCharset utf-8
 Redirect permanent /egcs-1.0/egcs-1.0.html
 Redirect permanent /egcs-1.0/egcs-1.0.1.html
 Redirect permanent /egcs-1.0/egcs-1.0.2.html

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]