By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,583 Members | 594 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,583 IT Pros & Developers. It's quick & easy.

Using Runtime.exec with CJKT parameters

P: n/a
Does the Runtime.exec() method support parameters from non-native
locales i.e. does it really support the entire unicode range of
characters in the parameters. I am trying ot invoke a C++ application
(exe) using the exec() method. The C++ application is unicode enabled
i.e. it can accept wide chars as command line arguments. I am passing
UTF-16 java String parameters to the Runtime.exec() function, but when
these parameters are checked in the C++ application, the CJKT
characters get replaced with '?' characters. Please note that this
application is being run on Windows 2K Server - default i.e. English
edition.

Looking at the source code of Runtime class, it seems that the exec()
function makes use of a native helper function - execInternal(). Does
this function support the entire unicode range?

Regards,
Avnish Midha
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.