Operating System - HP-UX
1830340 Members
2625 Online
110001 Solutions
New Discussion

Character representation problem.

 
Rui Vilao
Regular Advisor

Character representation problem.

Greetings,

I have imported an ASCII file to HP-UX 11i containing characters with like ?? or ?? ...

On one HP box they appear correctly.
On another they appear wrong (different).

Any idea how I control the character set (?).

TIA,

Kind Regards,

Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com
4 REPLIES 4
Jeff Machols
Esteemed Contributor

Re: Character representation problem.

check to see if you have an evironment variable LANG that is pointing to the wrong character set
Rui Vilao
Regular Advisor

Re: Character representation problem.

Jeff,

Thanks for your suggestion but Idon??t think that this is the problem because on both machines I have:

LANG: Parameter not set.
"We should never stop learning"_________ rui.vilao@rocketmail.com
Suhas_3
Advisor

Re: Character representation problem.

Hi,

Apart from LANG, there are other variables that influence the language options in HP-UX.
Please refer to the following extracts from "man environ" -
LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME

LC C_TYPE defines the character set to be used. If the above variables are not set, they are set to default. In that case, you may check what exactly this default is.

Thanks,
Suhas
Wodisch
Honored Contributor

Re: Character representation problem.

Hello Rui,

have you checked wether you are using the same character font (X-Windows font) to display that text?

Just a guess,
Wodisch