How to update File Encoding Standard to UTF-8 from UTF-16 for Logging in K8's environment?

In Our Containerized environment, all the Pega Application logs following the conversion / zipping format to .gz in the cluster however, those .gz log file format is not getting archived using 7-zip Archives or any other file formats post downloading. Eventhough we’re unzipping the files in the shell and downloading them for Pega Tools analysis, it’s not being supported. The same issue has been observed by Pega and found that, File encoding format UTF-16 is in place in our envionment where as UTF-8 is the actual file encoding format supported by Pega Tools which is a STANDARD.

@KishoreSanagapalli

Applied Work Arround:

  1. Post downloading the log files, If you try to re-save it in your local machine, there’ll be prompt to change the file format to UTF-8 and save it. Then those re-saved files are accessible in Pega Developed tools like log analyzers etc..

  2. From Pega delivered Tools, Under Settings Option, we can amend the File encoding format to the required format and it’s working. In our issue, we have updated the settings to UTF-16LE.

Approaches Tried:

  1. Updating the Helm charts logging format from .gz to .zip and deployed the application - Failure Scenario

  2. From Containerized deployment file, added a JVM argument -Dfile.encoding=UTF-8 and deployed the application. - Monitoring the Scenario Result. Updated result will be posted in 24Hours again.