This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark " JNI and MultiByte Character" Watch " JNI and MultiByte Character" New topic

JNI and MultiByte Character

Bhuvan K Gupta

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
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.

I agree. Here's the link:
subject: JNI and MultiByte Character
jQuery in Action, 3rd edition