No one has any idea on how I couold even debug this ?
Thank you for any help ...



debussy007 wrote:
> 
> Hi,
> 
> When I try to fetch data with special characters from the DB and try to
> log it, strange characters will appear instead of the correct one.
> 
> For example:
> $this->logger->debug($event->nom);  // Nâdiya
> echo $event->nom; // Nâdiya
> 
> if I put the value manually :
> $this->logger->debug('Nâdiya');  // Nâdiya
> echo $event->nom; // Nâdiya
> 
> All my tables and fields rom MySQL are encoded in "utf8_general_ci"
> When I initialize the DB connection, I always set the connection in UTF8
> also :
> $dbAdapter->query("SET NAMES 'utf8'");
> The .phtml file is also ecoded in UTF8 without BOM
> 
> What am I missing ?
> 
> Thank you for any kind help.
> 

-- 
View this message in context: 
http://www.nabble.com/Encoding-issue-UTF8-tp23020704p23125261.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to