title: Docker Jenkins slave wrong character encoding
body: <p>I'm using <a href="https://hub.docker.com/r/yasn77/docker-jenkins-slave/" rel="nofollow noreferrer">this</a> Jenkins slave docker image, it is based on ubuntu:14.04</p>
  
  <p>I would like to use a String Parameter which contains UTF-8 characters.</p>
  
  <p>The charachers like <code>öüóőúűáéí</code> (Hungarian characters) will be replaced to <code>question marks</code></p>
  
  <p>As <a href="https://issues.jenkins-ci.org/browse/JENKINS-8329" rel="nofollow noreferrer">this</a> ticket mentions I tried to pass <code>-e LANG=hu_HU.UTF-8</code> and <code>bash -c "locale-gen hu_HU.UTF-8"</code> to docker. I also placed <code>export LANG=hu_HU.UTF-8</code> to Jenkins user's <code>.bashrc</code> the characters are still replaced. I also tried with <code>en_US.UTF-8</code></p>
  
  <p>I also tried to do the same with the Jenkins Job:</p>
  
  <pre><code>+ export LANG=hu_HU.UTF-8
  + locale
  locale: Cannot set LC_CTYPE to default locale: No such file or directory
  locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  locale: Cannot set LC_ALL to default locale: No such file or directory
  LANG=hu_HU.UTF-8
  LANGUAGE=
  LC_CTYPE="hu_HU.UTF-8"
  LC_NUMERIC="hu_HU.UTF-8"
  LC_TIME="hu_HU.UTF-8"
  LC_COLLATE="hu_HU.UTF-8"
  LC_MONETARY="hu_HU.UTF-8"
  LC_MESSAGES="hu_HU.UTF-8"
  LC_PAPER="hu_HU.UTF-8"
  LC_NAME="hu_HU.UTF-8"
  LC_ADDRESS="hu_HU.UTF-8"
  LC_TELEPHONE="hu_HU.UTF-8"
  LC_MEASUREMENT="hu_HU.UTF-8"
  LC_IDENTIFICATION="hu_HU.UTF-8"
  LC_ALL=    
  </code></pre>
  
  <p>The output is the same.</p>
  
  <p>Thank you.</p>