internationalization and ProC

From: Carole Turney <turney_at_io.nosc.mil>
Date: 9 Sep 1994 00:08:56 GMT
Message-ID: <34o92o$650_at_pandora.sdsu.edu>


Hi,

I've been having some problems with internationalizing an application that is made up primarily of ProC code.

Motif 1.2 on HP's X11R5 is used for the gui, along with HP's NLS and message catalogs and the ProC embedded SQL.

If I use a setlocale(), and set the LANG environment to korean, I get bus error core dumps after I've queried the database and found data to display. If there is no data in the database, no core dump; if I take out the setlocale, no core dump. If I set the locale to 'C' for english, and bring data in, no core dump. At this point, I'm fairly convinced it's the proc/database that's corrupting memory when the locale is set to something other than C.

I also have a problem with hp debuggers running in the korean locale. No problem with C locale.

Has anyone encountered bugs with ProC/Oracle with different locale settings? (database is all english)

Any trouble-shooting suggestions? It doesn't always core dump in the same place, either. Using printf's, it often (not always) happened in XmTextFieldSetStrings, but when I looked at the strings they looked ok.

If anyone can give me pointers, RTFM's for particular FM's, I'd greatly appreciate it

Thanks,
Carole email turney at io.nosc.mil Received on Fri Sep 09 1994 - 02:08:56 CEST

Original text of this message