Skip to main content

RFT scripts display double byte characters corrupted in the Eclipse script editor


Technote (troubleshooting)


Problem(Abstract)

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:

  1. Record a script with RFT on a double byte character application
  2. Stop recording and save the script
  3. 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.

  1. Open Window > Preferences from RFT menu

  2. Expand General from the tree branch then select Workspace

  3. Select Other in the text file encoding section

  4. Choose UTF-8 from the drop down list

  5. Click OK

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Functional Tester

Eclipse


Software 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


Operating system(s):
Windows


Reference #:
1302900


Modified date:
2013-01-15

Translate my page

Content navigation