Display Special characters In Description

Article ID:217709828
1 minute readKnowledge base

Issue

I want to display Japanese Characters in the description of a Job

Resolution

It is possible to display Japanese characters in the description. However there is a problem during Form Submission and you cannot use the UI. To update the job description, you need to use the CLI/REST API to update the job.

  1. Example using the Jenkins CLI:

     java -jar jenkins-cli.jar -s https://localhost:8080/ update-job my-job < my-config.xml
  2. Example using the REST API:

     curl -v -X POST \
         --data-binary @my-config.xml \
         -u "user:$token" \
         -H 'Content-Type: application/xml' \
         "https://jenkins:port/job/my-job/config.xml"
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.