Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1977

README file for helm charts coded in Chinese shows messy characters when viewing in developer perspective.

XMLWordPrintable

    • Moderate
    • None
    • ODC Sprint 225, ODC Sprint 226
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: The Chinese encoded string is not decoded to valid utf8 string

      Consequence: The helm chart README file is coded in Chinese, and the content turns into messy code while configuring the helm chart

      Fix: Using js-base64's decode to decode the readme contents

      Result: README file with Chinese characters shows normally as expected
      Show
      Cause: The Chinese encoded string is not decoded to valid utf8 string Consequence: The helm chart README file is coded in Chinese, and the content turns into messy code while configuring the helm chart Fix: Using js-base64's decode to decode the readme contents Result: README file with Chinese characters shows normally as expected
    • Bug Fix

      Description of problem:

      Helm chart README file is coded in Chinese,the content turns into messy code in developer perspective while configuring the helm chart.

      Version-Release number of selected component (if applicable):

      OpenShift Container Platform : 4.8.20 and also found same behavior on : 4.10.16

      How reproducible:

       

      Steps to Reproduce:

      1. Create a custom HelmChartRepository which consist a helm chart with a README.md file coded in Chinese  
      
      2. Then check and try to install the helm chart from : Developer Catalog > Helm Charts , The README file contents will be showing messy.
      
      

      Actual results:

      Helm chart README file is coded in Chinese,the content turns into messy code in developer perspective while configuring the helm chart.

      Expected results:

      README file Chinese characters must show normally.

      Additional info:

       

        1. Screenshot 2022-09-08 at 1.10.25 PM.png
          537 kB
          Debsmita Santra
        2. image-2022-10-10-17-47-14-200.png
          753 kB
          jaivardhan Kumar
        3. image-2022-10-10-17-48-57-591.png
          1.16 MB
          jaivardhan Kumar

            dsantra12 Debsmita Santra
            dsantra12 Debsmita Santra
            jaivardhan Kumar jaivardhan Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: