Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-716

Make Asian languages correctly shown in the agent log

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.3
    • Component/s: agent
    • Labels:
      None

      Description

      In prior to ngrinder 3.2.3, the script logged the output with system encoding.
      Then it's zipped and sent to controller.
      In the controller side controller showed the zipped log's stream to browser without no content-encoding header.

      This made the problem when the asian languages is used in the log. Because the browser can be incorrectly accept the log's encoding.
      We should fix this with the following solution.

      1. Use system encoding in agent by default.
      2. When zipping the log, translate the logs to UTF-8, zip and pass it to the controller
      3. controller should show the zipped logs's stream to browser with UTF-8 encoding header.

        Activity

        Hide
        junoyoon JunHo Yoon added a comment -

        Fixed

        Show
        junoyoon JunHo Yoon added a comment - Fixed

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: