[xdebug-general] Re: Variables display encoding

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 17 Mar 2010 17:49:17 +0000 (GMT)

On Mon, 15 Mar 2010, Charles de LONGEAUX wrote:

> Working with PHPEdit 3.6
> My databse and every table are UTF8 encoded
> Firefox display is UTF8 encoded
>
> When reading the datas I can control the encoding in the debugger by the
> result of : :
> $sEncoding = mb_detect_encoding($enreg['element'],'UTF-8, ISO-8859-1');
>
> On the final display datas are displayed with the correct french accented
> characters
>
> But when reading the content of the variables in the debugger the display
> looks like acting with ISO8859-1
>
> Wher can I configure the system [PHPEdit/XDebug] for a coherent display

I don't know. PHP only cares about bytes, and Xdebug just passes them
straight onto the wire. There is no encoding associated with this so
it's up to PHPEdit to do it properly.

with kind regards,
Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Wed Mar 17 2010 - 17:49:17 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST