Operating System - HP-UX
1833329 Members
2905 Online
110051 Solutions
New Discussion

characters badly displayed

 
Jeroen_D
Regular Advisor

characters badly displayed

Hi,

I have some users who are using the "diameter-symbol" in their filenames. Apparently they find it quite handy for their cad-programme.

We recently upgraded to B2000's running HP-UX 10.20. I used the OS on the preinstalled systems (bought at end December 2000).

Now, when I do "ls" I see a 'pi-char', and when I do "ll | more" then I see M-R instead of the Pi-symbol.

The system locale LANG is C (all standard, I used the os and configured it for use in our network)

I am not really sure if it previously was shown ok or not.

I was wondering what is determining how the character is shown.

In a C-programme there is a call to a toupper()-function and then the diametersymbole is translated in something it shouldn't. This part worked previously. Anyone heard of this ? Some libraries/patches ?

TIA,
Jeroen.
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: characters badly displayed

What display are you using:
Xterminal, Xwindow or terminal?
You want to make sure if it's X, that:
1> the CDE session is correct lang/locale
2> The terminal (hpterm/xterm) used to display
the char is using a font that includes the character.
If it's an xterm, make sure you've got patches.

If it's an ascii terminal ... mmmm, make sure you're in hp emulation ??

Later,
Bill
It works for me (tm)
Volker Borowski
Honored Contributor

Re: characters badly displayed

Hello,
I would first check, if the shell you are running has "istrip" set, which would cause to clip off bit 8 for translation.

Do an stty in your session and check if you get
istrip or -istrip
If you have istrip, do a

stty -istrip

and verify you ls -l output.

Volker
Jeroen_D
Regular Advisor

Re: characters badly displayed

Thanks for the info, I've checked for certain things but no improvement yet.
I've launched a software call at HP Brussels...I'll keep you guys informed.

Jeroen.