How to change charset to UTF-8???
Posted by: Ware (---.84-49-96.nextgentel.com)
Date: July 01, 2011 01:29AM

So, I don't really understand why APACHE and/or the MySQL server seems to be set up in ISO-8859-1.

However, I want to change this to UTF-8 to generally simplify the use of JavaScript and similar. As, well, the general charset commonly agreed is UTF-8.

So, if anyone could point me to a guide, or be kind enough to write me/us a guide here, that would be greatly appreciated.

Ware

Options: ReplyQuote
Re: How to change charset to UTF-8???
Posted by: Ware (---.84-49-96.nextgentel.com)
Date: July 01, 2011 02:53PM

C'mon folks. There must be someone else who has gotten this problem???

Having ISO-8859-1 as the standard charset for a server is just downright troublesome. Am I seriously the first one to notice? I HGIGHLY doubt that, so, is there anyone out there who can confirm that it's at least flipping possible?

Options: ReplyQuote
Re: How to change charset to UTF-8???
Posted by: Magicjacob64 (---.buffalo.res.rr.com)
Date: July 10, 2011 07:59AM

As a beginner programmer (and self-taught), there's not much I can offer. What I normally do to change the charset is just input:

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />

into the <head> section of my html documents.
i.e.:

<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
</head>
<body>
<p>Hello!</p>
</body>
</html>

If you want to change the charset of a php file, I would recommend:

<html>
<?php
echo "<head><meta http-equiv="content-type" content="text/html;charset=UTF-8" /></head>"
?>
</html>


ONE MORE THING that I can offer (albeit as a lead) is to search through:

C:\...wamp\bin\apache\Apache2.2.17\conf\httpd.conf

for something such as "CHARSET =" or "DEFAULT CHARSET =" and edit it there.

I'm sorry if I answered your question completely wrong, which, looking back at it, I probably did.



Edited 1 time(s). Last edit at 07/10/2011 08:01AM by Magicjacob64.

Options: ReplyQuote


Sorry, only registered users may post in this forum.