For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > December 2005 > RE: [PHP-DB] Character encoding issues: Pound-sign "£" becomes a "ú&qu









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] Character encoding issues: Pound-sign "£" becomes a "ú&qu
Bastien Koert

2005-12-13, 9:55 pm


Check that you are using the same ASCII character sets all around, in the
db, in the html output

Bastien

>From: Alex Gemmell <agemmell@gmail.com>
>To: php-db@lists.php.net
>Subject: [PHP-DB] Character encoding issues: Pound-sign "£" becomes a "ú" -
>why?
>Date: Tue, 13 Dec 2005 13:01:36 +0000
>
>Hello,
>
>I'm experiencing some odd character encoding issues. My PHP webpage is
>displaying test from a MySQL database. What happens is that I export data
>from an SQL Server database to a MySQL (4.0) database. Somewhere along the
>line the British currency pound-sign "£" becomes a "ú" (u with somesort of
>accent on it!). I cannot figure out why this is happening and what to do
>about it.
>
>I could use a PHP routine to find-and-replace the chars but surely there
>is a way to tackle the root problem?
>
>Any ideas gang?
>
>Alex
>
>--
>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