[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query
From: |
apgaylard |
Subject: |
Re: query |
Date: |
Thu, 13 Nov 2003 10:16:42 GMT |
> On Wed, Nov 12, 2003 at 06:22:34AM +0000, soumya sachidananda wrote:
> > I'm not able to open source files properly in ddd
> > incase they have Japanese characters in them. The file
> > displays only a few linies upto the line where the Jap
> > character is encountered. How do I solve this since I
> > need the file to step in thru' the code. I don't want
> > to use gdb.
> > I'd really appreciate an answer. Thanks.
>
> OK, no-one's come up with a better answer, so you may be desperate
> enough to do what we do. When other tools, such as compilers, have
> baulked at Japanese characters in comment fields, we strip them.
>
> With the compiler, Japanese characters outside comments could not be
> stripped, but even these could be treated in your case (I expect),
> because ddd only needs them for display purposes, surely.
>
> Hope this helps a little bit.
>
> Erik
I've thought about this for a bit, and it is similar to this problem
which was described in the PROBLEMS file:
Reported by: Andrew Gaylard <address@hidden>
If the command window appears as follows on startup:
GNU DDD 3.3.7 (i686-pc-linux-gnu), by Dorothea L(gdb)ï¿
then you probably have $LANG set to something like "en_US.UTF-8".
Setting it to either "C" or "en_US.iso885915", or unsetting it completely
will fix this problem.
Alternatively, link with Lesstif.
This has been observed on Redhat-8.1, but probably affects other
Unixes as well.
Please try "unset LANG ; ddd your_file" and let me know if this works.
Thanks!
---------------------------------------------
This message was sent using M-Web Airmail - JUST LIKE THAT
Get an SMS sent to your phone when you receive an email and save time and money.
M-Web members only. http://www.mweb.co.za/mobile .
- query, soumya sachidananda, 2003/11/12