Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cbfcb32de2116897041f04071a91bd9fce6c28b3
Ticket: 966046ffffffffffffffffffffffffffffffffff
Unicode byte order header (FFFE / FEFF) not written
User & Date: atfrost on 2004-06-03 19:42:09
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Files written using the "unicode" encoding configuration 
    under Tcl 8.4 appear to be missing the Unicode byte-
    order specification header (FFFE for little-endian, FEFF 
    for big-endian).
    
    Following is a dump of a text file created 
    using "fconfigure $outfile -encoding unicode"; there is no 
    byte order header couplet present.
    
    Running the "file" command on this file gives type "data" 
    on my BSD system.  Files with the byte order couplet 
    register as "Little-endian UTF-16 Unicode character 
    data" or similar.
    
    
    tpark 12:45:02 [~/scripts/Library] od -a 
    output_google_unicode.txt.b  | head
    0000000    C nul   a nul   m nul   p nul   a nul   i nul   g 
    nul   n nul
    0000020   ht nul   C nul   a nul   m nul   p nul   a nul   i 
    nul   g nul
    0000040    n nul  sp nul   D nul   a nul   i nul   l nul   y 
    nul  sp nul
    0000060    B nul   u nul   d nul   g nul   e nul   t nul   ( 
    nul   U nul
    0000100    S nul   D nul   ) nul  ht nul   A nul   d nul  sp 
    nul   G nul
    0000120    r nul   o nul   u nul   p nul  ht nul   R nul   e 
    nul   p nul
    0000140    o nul   r nul   t nul  sp nul   T nul   y nul   p 
    nul   e nul
    0000160   ht nul   M nul   a nul   x nul  sp nul   C nul   P 
    nul   C nul
    0000200    ( nul   U nul   S nul   D nul   ) nul  ht nul   K 
    nul   e nul
    0000220    y nul   w nul   o nul   r nul   d nul  sp nul   T 
    nul   y nul
    
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "atfrost"
  9. subsystem changed to: "44. UTF-8 Strings"
  10. title changed to:
    Unicode byte order header (FFFE / FEFF) not written
    
  11. type changed to: "Bug"