issue with accents from a mysql table

From: Date: Fri, 11 Feb 2005 23:16:06 +0000
Subject: issue with accents from a mysql table
Groups: php.db 
Request: Send a blank email to php-db+get-38565@lists.php.net to get a copy of this message
Hello, please help me on the following issue. I guess I should understand by myself, but I don`t. I have hacked a function accents_conv(---); to convert a character like à to, say, à. When I feed it by a string - accents_textris('à') - it works fine. The issue is when I get 'à' from a mysql table. I.e., let à the value of the field Field of a mysql table Table, and say $result = mysql_fetch_array($answer, MYSQL_BOTH), where $answer= mysql_query(SELECT * FROM Table). Now accents_textris($result['Field']) is still à (instead of à). Why? Any hint is welcome. Thanks a lot see you tomorrow morning. mario

« previous php.db (#38565) next »