« Bugzilla Issues Index
#205 — Some sputnik tests are UTF-16 encoded which isn't supported by the converter tool
- bug_id:
205
- creation_ts:
2011-09-11 06:30:00 -0700
- short_desc:
Some sputnik tests are UTF-16 encoded which isn't supported by the converter tool
- delta_ts:
2011-12-11 04:44:00 -0800
- product:
Test262
- component:
Test Harness
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Dave Fugate
- commentid:
449
- comment_count:
0
- who:
André Bargull
- bug_when:
2011-09-11 06:30:41 -0700
All of the following sputnik tests are encoding in UTF-16LE according to their BOM:
S7.2_A1.5_T2.js
S7.6_A4.2_T1.js
S7.6_A4.2_T2.js
The converter tool does not support UTF-16LE which leads to garbled test cases after the conversion.
For example "test/suite/converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js" currently looks like this:
---
/**
* @path: 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js;
*/
��/
---
The entry in "website/resources/scripts/testcases2/7.2_White_Space.json" is obviously invalid as well:
---
{
"test": "��/"
},
---
- commentid:
518
- comment_count:
1
- who:
André Bargull
- bug_when:
2011-12-11 04:44:00 -0800
Has been fixed, cf. http://hg.ecmascript.org/tests/test262/rev/d212a88dde48