オリジナルのlibnkfは消滅したようです。C++対応です。使い方はnkf(1)とほとんど同じです。
char * utf8_str = new char[strlen(sjis_str)*2];
nkf(sjis_str, utf8_str, strlen(sjis_str)*2, "-S -w");
delete[] utf8_str;
char * utf8_str = new char[strlen(eucjp_str)*2];
nkf(eucjp_str, utf8_str, strlen(eucjp_str)*2, "-E -w");
delete[] utf8_str;
Since you are running a proprietary closed source system like Weblogics and
Solaris, I suggest you call their customer support.
Sun and Weblogics both told me that their customer support is their key
differentiator and competitive advantage over Open Source in the telecom
service provider market in order to ensure high availability of mission
critical systems.
God - I love the way those buzz-words just roll off my keyboard.....
Best regards and good luck - this is a Linux/FOSS forum....sorry if you think
I'm a snob but I had a similar problem with the Sun Java application server a
few years ago and it took Sun 3 months to admit they didn't know the
answer....
-- Danny L
-- Post to Linux-IL ( http://www.mail-archive.com/linux-il%40cs.huji.ac.il/msg45715.html )
Wear short sleeves! Support your right to
bare arms!
-- One of Nadav Har'El's Email Signatures.