help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coding system and gdb


From: Rusi
Subject: Re: coding system and gdb
Date: Wed, 8 Jul 2015 10:09:55 -0700 (PDT)
User-agent: G2/1.0

On Wednesday, July 8, 2015 at 10:27:02 PM UTC+5:30, Eli Zaretskii wrote:
> > Date: Wed, 8 Jul 2015 09:23:39 -0700 (PDT)
> > From: Rusi 
> > 
> > Some students of mine are working on a hand-compiled python and debugging 
> > with gdb in emacs.
> > Unicode characters dont seem to be flowing properly between (inferior) 
> > python and
> > emacs; seems to work better when python is started outside emacs.
> > 
> > Is there some process-related-coding-system that is to be set for gdb?
> > 
> > How/When/Where?
> 
> Please provide some minimal details about the GDB commands you tried,
> and their results.  GDB is generally agnostic to encoding issues, it's
> all just data for it, so I'm having hard time guessing what exactly
> didn't work for your students.
> 
> In general, process-coding-system-alist is the feature you are
> supposed to use to set up encoding for communicating with processes,
> in case the locale's defaults aren't TRT.

I'll find out more details and repost.
For now Ive this mail from them:

--------
I tried a='ब' in emacs gdb but it is interpreting it as. a= '  ' and it is not 
printing anything when we do print(a) but it is printing correctly in terminal 
with our compiled python.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]