Details
-
Fix
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- If umlaut characters such as ä, ö or ü are used in a job configuration, e.g. as name or in the title, or in the name of a subfolder to the live folder then the job is displayed in JOC with Jetty with a two byte UNICODE representation instead of the umlaut. This is due to the fact that the <show_state> response does not provide the original characters:
Answer of <show_state/> with JobScheduler C++ Webserver
<job all_steps="0" all_tasks="0" enabled="yes" in_period="no" job="JS-1229äöü" log_file="C:/ProgramData/sos-berlin.com/jobscheduler/scheduler.1.9/logs/job.test,JS-1229äöü.log" name="JS-1229äöü" order="yes" path="/test/JS-1229äöü" state="pending" tasks="1"> <file_based file="C:/ProgramData/sos-berlin.com/jobscheduler/scheduler.1.9/config/live/test/JS-1229äöü.job.xml" last_write_time="2015-04-23T10:46:34.000Z" state="active"> <requisites/> </file_based> <tasks count="0"/> <queued_tasks length="0"/> <log highest_level="info" last_info="SCHEDULER-893 Job is 'active' now" level="info" mail_from="scheduler@sos-berlin.com" mail_on_error="yes" mail_on_warning="yes" mail_to="oliver.haufe@sos-berlin.com" smtp="mail.sos-berlin.com"/> </job>
Answer of <show_state/> with Jetty<job all_steps="0" all_tasks="0" enabled="yes" in_period="no" job="JS-1229äöü" log_file="C:/ProgramData/sos-berlin.com/jobscheduler/scheduler.1.9/logs/job.test,JS-1229äöü.log" name="JS-1229äöü" order="yes" path="/test/JS-1229äöü" state="pending" tasks="1"> <file_based file="C:/ProgramData/sos-berlin.com/jobscheduler/scheduler.1.9/config/live/test/JS-1229äöü.job.xml" last_write_time="2015-04-23T10:46:34.000Z" state="active"> <requisites/> </file_based> <tasks count="0"/> <queued_tasks length="0"/> <log highest_level="info" last_info="SCHEDULER-893 Job is 'active' now" level="info" mail_from="scheduler@sos-berlin.com" mail_on_error="yes" mail_on_warning="yes" mail_to="oliver.haufe@sos-berlin.com" smtp="mail.sos-berlin.com"/> </job>
Desired Behavior
- All unicode characters should be supported by the JobScheduler components.
Notice
- There is nothing to do. It works with Jetty too when the HTTP header Content-Type:text/html;charset=utf-8 is set.