Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI and MultiByte Character

 
Bhuvan K Gupta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic