17 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
18 |
*/ |
*/ |
19 |
|
|
20 |
|
#include <config.h> |
21 |
|
|
22 |
#include <assert.h> |
#include <assert.h> |
23 |
#include <string.h> |
#include <string.h> |
24 |
|
|
83 |
|
|
84 |
free(characters); |
free(characters); |
85 |
|
|
86 |
#ifndef _WIN32 |
#ifdef HAVE_ICONV |
87 |
uint8_t utf16be[] = { |
uint8_t utf16be[] = { |
88 |
0, 'e', |
0, 'e', |
89 |
0, 0xe8, |
0, 0xe8, |
166 |
|
|
167 |
assert(result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED); |
assert(result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED); |
168 |
|
|
169 |
#ifndef _WIN32 |
#ifdef HAVE_ICONV |
170 |
/* malformed US-ASCII */ |
/* malformed US-ASCII */ |
171 |
/* NOTE: Windows simply discards the high bit */ |
/* NOTE: Windows simply discards the high bit */ |
172 |
uint8_t malformed_ascii[] = { |
uint8_t malformed_ascii[] = { |