List Info

Thread: Multi-byte filenames




Multi-byte filenames
country flaguser name
United States
2007-09-28 15:25:53
Hi,

    I've written a UTF-8 to gdb filename converter for the
netbeans gdb 
module. The
only multi-byte exanples I have use 2 byte characters. Does
gdb accept 3 
and 4 byte
characters? If so, is there a spec on the conversion?

Thanks,
Gordon

Re: Multi-byte filenames
country flaguser name
United States
2007-09-28 19:27:49
On Fri, Sep 28, 2007 at 01:25:53PM -0700, Gordon Prieur
wrote:
>    I've written a UTF-8 to gdb filename converter for
the netbeans gdb module. 
> The
> only multi-byte exanples I have use 2 byte characters.
Does gdb accept 3 and 4 
> byte
> characters? If so, is there a spec on the conversion?

GDB does not know anything about UTF-8 or multi-byte
character sets.
It uses exactly what it gets from the debug info and exactly
what it
gets from the user prompt, nothing more.

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )