title: Java chroot unicode support
body: <p>I created a chroot jail for java on Centos 6.5 but UTF8 characters are replaced by "?":</p>
  
  <pre><code>chroot $J /java ClassName جدلب
  </code></pre>
  
  <p>????????</p>
  
  <p>when I run java outside of jail it works fine.</p>
  
  <pre><code>java ClassName جدلب
  </code></pre>
  
  <p>جدلب</p>
  
  <p>locale also is set to utf-8 inside jail </p>
  
  <pre><code>$J/bin/locale
  LANG=en_US.utf8
  LC_CTYPE="en_US.utf8"
  LC_NUMERIC="en_US.utf8"
  LC_TIME="en_US.utf8"
  LC_COLLATE="en_US.utf8"
  LC_MONETARY="en_US.utf8"
  LC_MESSAGES="en_US.utf8"
  LC_PAPER="en_US.utf8"
  LC_NAME="en_US.utf8"
  LC_ADDRESS="en_US.utf8"
  LC_TELEPHONE="en_US.utf8"
  LC_MEASUREMENT="en_US.utf8"
  LC_IDENTIFICATION="en_US.utf8"
  LC_ALL=
  </code></pre>
  
  <p>how can I solve this issue ? </p>
  
  <p>PS: chroot $J /java -version
  java version "1.8.0_102"</p>