Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

error load java script file with Chinese character

in attribute customization, when trying to add java script for e.g. script based calculated value or script based value set.
In configuration when trying to browse to select a javascript file with Chinese character, it shows error.

1

0 votes



One answer

Permanent link
it seems that the js file has to be saved as UTF-8 encoding if it has any content in Chinese chars. 
here is what i did and found:
- copy and paste the js file into another new file for testing
- removed all the Chinese chars in new file, and saved the file as UTF-8 encoding
- added any Chinese chars after, then Eclipse client didn't complain and was able to complete the Script based customization

Defect is raised:
 https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=245769

I believe there will be some tech note published about this issue soon. 

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 369

Question asked: Jan 04 '13, 4:36 p.m.

Question was seen: 5,493 times

Last updated: Jan 04 '13, 4:37 p.m.

Confirmation Cancel Confirm