<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Change the default Apache character set</title>
	<atom:link href="http://rackerhacker.com/2007/11/15/change-the-default-apache-character-set/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com/2007/11/15/change-the-default-apache-character-set/</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Mon, 21 May 2012 12:07:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Bunyamin VICIL</title>
		<link>http://rackerhacker.com/2007/11/15/change-the-default-apache-character-set/#comment-23269</link>
		<dc:creator>Bunyamin VICIL</dc:creator>
		<pubDate>Tue, 21 Jun 2011 12:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2007/11/15/change-the-default-apache-character-set/#comment-23269</guid>
		<description>hi, i have a situation;
in my server: 
      export &#124; grep LANG
response is:
      declare -x LANG=&quot;en_US.UTF-8

in httpd.conf:
     #AddDefaultCharset UTF-8
(so there is no charset definition...)

i am using Plesk over Centos 5 (2.6.18-194.32.1.el5) i386, but one of my web site debug says:

&quot;Server charset Encoding: You must set a correct charset encoding in your locale definition in the form: en_us.UTF-8. Please refer to setlocale man page. Detected locale: C (using UTF-8) &quot;

so here is the question:

can i edit/change only one vhosts httpd.conf&#039;s Charset?...</description>
		<content:encoded><![CDATA[<p>hi, i have a situation;<br />
in my server:<br />
      export | grep LANG<br />
response is:<br />
      declare -x LANG="en_US.UTF-8</p>
<p>in httpd.conf:<br />
     #AddDefaultCharset UTF-8<br />
(so there is no charset definition...)</p>
<p>i am using Plesk over Centos 5 (2.6.18-194.32.1.el5) i386, but one of my web site debug says:</p>
<p>"Server charset Encoding: You must set a correct charset encoding in your locale definition in the form: en_us.UTF-8. Please refer to setlocale man page. Detected locale: C (using UTF-8) "</p>
<p>so here is the question:</p>
<p>can i edit/change only one vhosts httpd.conf's Charset?...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thornibr</title>
		<link>http://rackerhacker.com/2007/11/15/change-the-default-apache-character-set/#comment-118</link>
		<dc:creator>thornibr</dc:creator>
		<pubDate>Mon, 19 Nov 2007 15:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2007/11/15/change-the-default-apache-character-set/#comment-118</guid>
		<description>this was done because of the issues with MySQL within RHEL4 prior to that update. 

See:

https://wiki.intra.rackspace.com/kwiki/index.cgi?MySQLhttpCharacterConfig

Basically MySQLs global.character_set_results was ISO-8859-1 whereas httpd was UTF-8


RHEL3, 2.1 and whatever else is ISO-8859-1 for httpd. 


Basically the website page encoding (if not set, AddDefaultCharset in httpd.conf) MUST match character_set_results for MySQL!!!!</description>
		<content:encoded><![CDATA[<p>this was done because of the issues with MySQL within RHEL4 prior to that update. </p>
<p>See:</p>
<p><a href="https://wiki.intra.rackspace.com/kwiki/index.cgi?MySQLhttpCharacterConfig" rel="nofollow">https://wiki.intra.rackspace.com/kwiki/index.cgi?MySQLhttpCharacterConfig</a></p>
<p>Basically MySQLs global.character_set_results was ISO-8859-1 whereas httpd was UTF-8</p>
<p>RHEL3, 2.1 and whatever else is ISO-8859-1 for httpd. </p>
<p>Basically the website page encoding (if not set, AddDefaultCharset in httpd.conf) MUST match character_set_results for MySQL!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

