Skip to content
Tcl Source Code History Of Ticket 966046ffffffffff
Login

History Of Ticket 966046ffffffffff

Artifacts Associated With Ticket 966046ffffffffff

  1. Ticket change [cbfcb32de2] (rid 95610) by atfrost on 2004-06-03 19:42:09:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "atfrost"
    9. subsystem initialized to: "44. UTF-8 Strings"
    10. title initialized to:
      Unicode byte order header (FFFE / FEFF) not written
      
    11. type initialized to: "Bug"
  2. Ticket change [6b573236ba] (rid 128317) by dgp on 2004-06-05 03:21:07:

    1. assignee changed to: "hobbs"
    2. closedate changed to: "2004-06-04T20:21:07"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      This has been brought up before,
      and I believe the conclusion has
      been that whether or not a BOM
      should  be written is something
      that can only be determined by
      the application.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Rejected"
    8. status changed to: "Pending"
    9. subsystem changed to: "10. Objects"
    10. username: "dgp"
  3. Ticket change [72ef870c59] (rid 104955) by hobbs on 2004-06-05 06:21:51:

    1. closedate changed to: "2004-06-04T23:21:51"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      That is correct - this is an application specific thing,
      especially since you can switch encodings on the fly
      mid-stream.  Also, encodings are just on channels, and some
      channels will need BOMs while some will not - only the app
      writer really knows.  There has been discussion about
      improving Tcl's auxiliary support for BOMs, but no good APIs
      have been recommended.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"