For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > January 2007 > Re: [PHP-DB] What effects MySQL connection's character set









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] What effects MySQL connection's character set
bedul

2007-01-26, 9:57 pm

try to configure on the html..
i think on header..

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
----- Original Message -----
From: "Niel Archer" <niel@catweasel.org>
To: <php-db@lists.php.net>
Sent: Saturday, January 27, 2007 3:12 AM
Subject: [PHP-DB] What effects MySQL connection's character set


> Hi all
>
> How is the character set of returned data effected? I have a DB using
> UTF-8 encoding., PHP is set to use UTF-8 internally. However the MySQL
> connection returns Latin1 data. How can I get it to return UTF-8 data
> instead.
>
> TIA
>
> Niel
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com