wood burning stoves 2.0*
The moose likes Java in General and the fly likes  JNI and MultiByte Character Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark " JNI and MultiByte Character" Watch " JNI and MultiByte Character" New topic
Author

JNI and MultiByte Character

Bhuvan K Gupta
Greenhorn

Joined: Feb 03, 2002
Posts: 1
Hi All,
How do i extract Multi-Byte strings in my JNI/C code from Java Strings on UNIX .
On Windows NT I have found a good article by IBM
http://www-106.ibm.com/developerworks/library/jninls/jninls.html?dwzone=java
Which talks about the following Windows APIs to convert these strings:
-- WideCharToMultiByte
-- MultiByteToWideChar
Is there anything similar for Unix/Solaris ?
What I want to achieve is ..
Type in Korean/Japenese character in Java
and pass on those to C code using JNI and print them there.

Thanks
Bhuvan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JNI and MultiByte Character