search for: 32le

Displaying 8 results from an estimated 8 matches for "32le".

Did you mean: 32l
2020 Feb 03
2
RFC: Add a preprocessor to yaml2obj (and other YAML tools)
...ml2obj, similar to clang -D. This makes it easy to generate {32-bit,64-bit} x {big-endian,little-endian} tests. --- !ELF FileHeader: Class: ELFCLASS[[BITS]] Data: ELFDATA2[[ENCODE]] Type: ET_DYN Machine: EM_X86_64 # RUN: yaml2obj -D BITS=32 -D ENCODE=LSB %s -o %t.32le # RUN: yaml2obj -D BITS=32 -D ENCODE=MSB %s -o %t.32le # RUN: yaml2obj -D BITS=64 -D ENCODE=LSB %s -o %t.64le # RUN: yaml2obj -D BITS=64 -D ENCODE=MSB %s -o %t.64be See https://reviews.llvm.org/D73828 for examples how -D simplifies tests. Do people think it may be useful in other YAML tools? If y...
2017 May 01
3
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
...t;\n", to = "UTF-8")) >> >> try (iconv ("\n", to = "UTF-16LE")) >> try (iconv ("\n", to = "UTF-16BE")) >> try (iconv ("\n", to = "UTF-16")) >> >> try (iconv ("\n", to = "UTF-32LE")) >> try (iconv ("\n", to = "UTF-32BE")) >> try (iconv ("\n", to = "UTF-32")) >> ---------------------------------------------------------------------------- >> ------------------------ >> >> TEST SCRIPT OUTPUT >&g...
2017 Apr 29
2
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
...)) print (BE) cat ("\n") try (iconv ("\n", to = "UTF-8")) try (iconv ("\n", to = "UTF-16LE")) try (iconv ("\n", to = "UTF-16BE")) try (iconv ("\n", to = "UTF-16")) try (iconv ("\n", to = "UTF-32LE")) try (iconv ("\n", to = "UTF-32BE")) try (iconv ("\n", to = "UTF-32")) ---------------------------------------------------------------------------- ------------------------ TEST SCRIPT OUTPUT > source ("bug_encoding.R") R version 3.4.0 (...
2020 Feb 04
2
RFC: Add a preprocessor to yaml2obj (and other YAML tools)
...ml2obj, similar to clang -D. This makes it easy to generate {32-bit,64-bit} x {big-endian,little-endian} tests. --- !ELF FileHeader: Class: ELFCLASS[[BITS]] Data: ELFDATA2[[ENCODE]] Type: ET_DYN Machine: EM_X86_64 # RUN: yaml2obj -D BITS=32 -D ENCODE=LSB %s -o %t.32le # RUN: yaml2obj -D BITS=32 -D ENCODE=MSB %s -o %t.32le # RUN: yaml2obj -D BITS=64 -D ENCODE=LSB %s -o %t.64le # RUN: yaml2obj -D BITS=64 -D ENCODE=MSB %s -o %t.64be See https://reviews.llvm.org/D73828 for examples how -D simplifies tests. Do people think it may be useful in other YAML tools? If y...
2017 May 02
1
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
...t;Carriage Return> <Line Feed> as adjacent > bytes. This is fine for UTF-8 but wrong for UTF-16 and UTF-32. > > EXAMPLE: Using UTF-32 for exaggeration (note also that 3 nul bytes are > missing in the final CR+LF): > > df <- data.frame (x = 1:2, y = 3:4) > > $`UTF-32LE`$default.eol$raw > [1] 22 00 00 00 78 00 00 00 22 00 00 00 2c 00 00 00 22 00 00 00 79 00 00 00 > 22 > [26] 00 00 00 0d 0a 00 00 00 31 00 00 00 2c 00 00 00 33 00 00 00 0d 0a 00 00 > 00 > [51] 32 00 00 00 2c 00 00 00 34 00 00 00 0d 0a 00 00 00 > > $`UTF-32BE`$default.eol$raw &gt...
2017 May 02
0
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
...as.raw (c (0x0d, 0x0a)), that is, <Carriage Return> <Line Feed> as adjacent bytes. This is fine for UTF-8 but wrong for UTF-16 and UTF-32. EXAMPLE: Using UTF-32 for exaggeration (note also that 3 nul bytes are missing in the final CR+LF): df <- data.frame (x = 1:2, y = 3:4) $`UTF-32LE`$default.eol$raw [1] 22 00 00 00 78 00 00 00 22 00 00 00 2c 00 00 00 22 00 00 00 79 00 00 00 22 [26] 00 00 00 0d 0a 00 00 00 31 00 00 00 2c 00 00 00 33 00 00 00 0d 0a 00 00 00 [51] 32 00 00 00 2c 00 00 00 34 00 00 00 0d 0a 00 00 00 $`UTF-32BE`$default.eol$raw [1] 00 00 00 22 00 00 00 78 00 00 00...
2017 Apr 30
0
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
...t; > try (iconv ("\n", to = "UTF-8")) > > try (iconv ("\n", to = "UTF-16LE")) > try (iconv ("\n", to = "UTF-16BE")) > try (iconv ("\n", to = "UTF-16")) > > try (iconv ("\n", to = "UTF-32LE")) > try (iconv ("\n", to = "UTF-32BE")) > try (iconv ("\n", to = "UTF-32")) > ---------------------------------------------------------------------------- > ------------------------ > > TEST SCRIPT OUTPUT > >> source ("bu...
2007 Nov 26
0
14 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_file_reference.c libswfdec/swfdec_load_object.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_system_security.c test/trace
...b/libswfdec/swfdec_load_object.c index 6104240..322b3e7 100644 --- a/libswfdec/swfdec_load_object.c +++ b/libswfdec/swfdec_load_object.c @@ -99,8 +99,6 @@ typedef struct { } ByteOrderMark; static ByteOrderMark boms[] = { - /*{ "UTF-32BE", 4, {0x00, 0x00, 0xFE, 0xFF} }, - { "UTF-32LE", 4, {0xFE, 0xFF, 0x00, 0x00} },*/ { "UTF-8", 3, {0xEF, 0xBB, 0xBF, 0} }, { "UTF-16BE", 2, {0xFE, 0xFF, 0, 0} }, { "UTF-16LE", 2, {0xFF, 0xFE, 0, 0} }, @@ -116,6 +114,7 @@ swfdec_load_object_loader_target_eof (SwfdecLoaderTarget *target, guint size;...