Troubleshooting
Problem
Attempts to record a script in a double byte characters application with IBM Rational Functional Tester (RFT) result in double byte characters being displayed as corrupted.
Symptom
Steps to Reproduce:
- Record a script with RFT on a double byte character application
- Stop recording and save the script
- Open the script in the script editor in RFT
Expected result: All the double byte characters are displayed correctly.
Actual Result: All the double byte characters are corrupted.
Cause
This problem occurs because Eclipse workspace uses Cp1252 encoding by default.
Resolving The Problem
You can avoid this problem by changing the Eclipse test file encoding to UTF-8 in RFT as per following steps.
- Open Window > Preferences from RFT menu
- Expand General from the tree branch then select Workspace
- Select Other in the text file encoding section
- Choose UTF-8 from the drop down list
- Click OK
[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.1;6.1.0.1;6.1.1;6.1.1.1;7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;8.0;8.1;8.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21302900