Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1229

<show_state> response should not return a two byte UNICODE representation for umlauts such as ä, ö, ü

    XMLWordPrintable

Details

    • Fix
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.3192
    • 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.

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              oh Oliver Haufe
              Oliver Haufe Oliver Haufe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified