Configure Code page to UTF-8 for WebFOCUS client and server

Configure Code page to UTF-8 for WebFOCUS client and server

book

Article ID: KB0071307

calendar_today

Updated On:

Products

ibi WebFOCUS

Description

This KB article has step by steps details to change the code page(encoding) to UTF-8 at all the locations and files in WebFocus. 
 

Issue/Introduction

Steps to update the code page to UTF-8 for any version of WebFOCUS client and server

Resolution

Step-1: update server.xml file in tomcat
- Please go to the location "\ibi\tomcat\conf\" and open the server.xml file 
- Search for the connector tag and add "URIEncoding="UTF-8"" as shown in the below screenshot: 

Please refer to the image attached "server_xml.jpeg "

Step-2: Update the configuration in the tomcat utility: 
- Go to the location "ProgramData\Information Builders\Tomcat" and run the "Tomcat Configuration Utility" Utility
- Select Java tab and add "-Dfile.encoding=UTF8" as shown in the below image

Please refer the image attached "Tomcat_Configuration_Utility.JPG"

- Click on Apply and then ok. 
- Once this is done please verify the settings by going to the Administrator Console >> Diagnostics >> JVM Property Info 
- Please check if the System.in encoding and Syster.out encoding is sowing the encoding as "UTF-8"

Step_3: Change the encoding for the WebFOCUS Client:

Login on the WebFOCUS Client, go to Administration Console, Configuration, Application Settings, NLS Settings and select 65001 - Unicode (UTF-8)

Step-4: Change the encoding for reporting server: 

- Login to WebFOCUS client from the browser and go to management Center >> Under "Sever Administration" >> Server Workspaces >> select setting button >> LOCALE >> Configuration wizard 
- Under NLS configuration Wizard >> "General" section 
- Please change the CODE PAGE from the given dropdown list and set it to "65001 - Unicode (UTF-8)"

Please refer to the image "Reporting_Server_Configuration.JPG"

- Click on Save/Rebuild NLS files and Restart server. 
wait for the server to get restarted and check. 
the encoding should be UTF-8 for both the client and server. 

Attachments

Configure Code page to UTF-8 for WebFOCUS client and server get_app
Configure Code page to UTF-8 for WebFOCUS client and server get_app
Configure Code page to UTF-8 for WebFOCUS client and server get_app