[xdebug-general] Re: error encoding

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 28 May 2010 19:49:28 +0100 (BST)

On Mon, 17 May 2010, Xavier Puig wrote:

> Hello,
> When I decoded base64 source, I have an error in python(UnicodeDecodeError:
> 'ascii' codec can't decode byte 0xc3 in position 22: ordinal not in
> range(128))

> My system is UTF-8 and source code sended too.
> So I think to change it by:
> feature_set -i "1274109243.76" -n encoding -v UTF-8

> And response is:
> 302<?xml version="1.0" encoding="iso-8859-1"?>
> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="1274109243.76" status="break" reason="ok"><error
> code="900"><message><![CDATA[encoding not
> supported]]></message></error></response>

> I compiled xdebug in my system.

> What can I do?

Xdebug doesn't do anything with encodings, because PHP doesn't know
about encodings either. Thre is not much I can do about this.

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 Fri May 28 2010 - 19:49:48 BST

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