gecko-dev/intl/uconv/tests/unit/test_bug396637.js
2009-09-23 01:01:23 -07:00

12 lines
287 B
JavaScript

// Tests conversion of a single byte from UTF-16 to Unicode
load('CharsetConversionTests.js');
const inString = "A";
const expectedString = "\ufffd";
const charset = "UTF-16BE";
function run_test() {
checkDecode(CreateScriptableConverter(), charset, inString, expectedString);
}