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
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.4.6"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "atfrost"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to:
Unicode byte order header (FFFE / FEFF) not written
- type changed to: "Bug"