0

I need to invoke shell script from java and pass UTF-8 characters as arguments(Hebrew/arabic language characters).

But the characters are turned into ????? in shell script.

I am using: Runtime.getRuntime().exec() to invoke the shell script.

And -Dfile.encoding=UTF-8, without which the characters in Java itself turn into ????

Edwin Dalorzo
  • 76,803
  • 25
  • 144
  • 205
Hitesh Bajaj
  • 137
  • 2
  • 12

0 Answers0