/[jscoverage]/trunk/tests/encodings.c
ViewVC logotype

Diff of /trunk/tests/encodings.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 309 by siliconforks, Mon Oct 13 06:24:16 2008 UTC revision 310 by siliconforks, Mon Oct 13 07:19:42 2008 UTC
# Line 17  Line 17 
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    
# Line 81  Line 83 
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,
# Line 164  Line 166 
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[] = {

Legend:
Removed from v.309  
changed lines
  Added in v.310

  ViewVC Help
Powered by ViewVC 1.1.24