|
Boost Users : |
Subject: Re: [Boost-users] xpressive - delete weird character is a string
From: Lars Viklund (zao_at_[hidden])
Date: 2010-12-24 05:25:32
On Thu, Dec 23, 2010 at 12:09:24PM -0800, Jean-Christophe Roux wrote:
> Hello,
>
> I have strings coming from a webpage (through a post form and fastcgi
> application) that contain "weird characters".
> In vim, those characters appears like ^@ in blue. Those weird characters were
> not there in the web form but are there in my fasctcgi application.
In vim, in NORMAL mode you can move the cursor over the character and
use the command ga to query the character under the cursor.
Here, I get:
<^@> 0, Hex 00, Octal 000
, which says that it's a nul terminator.
You might have missed some part of the multipart POST spec, or some
translation that FastCGI does for you.
-- Lars Viklund | zao_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net