Operating System - HP-UX
1834213 Members
2465 Online
110066 Solutions
New Discussion

UTF-8 character display on Motif

 
Amit Singh_1
Occasional Contributor

UTF-8 character display on Motif

Hi All,
I'm facing a problem when I try to print UTF-8 encoded string on a Motif Dialog box on HP-UX.
I'm setting my locale as:
setlocale(LC_CTYPE, "en_US.UTF-8");
in my c program.
my program is working fine with Solaris.
any help will be great.
thanks,
Anil

P.S.: on solaris
setlocale(LC_CTYPE, "en_US.UTF-8");
is working fine...but on HP-UX 11.00, the same
function is returning NULL,
is there any way I can set my locale to be
en_US.UTF-8 on HP-UX11.00