Overview
| Artifact ID: | 33006b20afdb66e987eea23ed50f093a2fff0520 |
|---|---|
| Ticket: | 218309ffffffffffffffffffffffffffffffffff
\0 is not he empty string anymore - was in 8.0 |
| User & Date: | nobody on 2000-10-26 00:55:59 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3692 Bug Version: 8.2.2 SubmitDate: '1999-11-24' LastModified: '1999-11-28' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Linux-Red Hat FixedDate: '2000-10-25' ClosedDate: '1999-11-28' Name: miguel sofer ReproducibleScript: [mig@ant NEW]$ tclsh8.0 % set a "\0"; if {$a == ""} {puts equal} else {puts different} equal % [mig@ant NEW]$ tclsh8.2 % set a "\0"; if {$a == ""} {puts equal} else {puts different} different ObservedBehavior: Some scripts that test for empty strings (received from a socket, for instance) do not function in 8.2 DesiredBehavior: Ideally, the behaviour of 8.0 - \0 seems to be the 'universal' string terminator This is the correct and expected behavior for 8.2, which now has full binary support and support for Unicode. It would be more apt to say the 8.0 never handled the \0 fully correct. -- 11/28/1999 hobbs - foundin changed to: "obsolete: 8.2.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "\0 is not he empty string anymore - was in 8.0"
- type changed to: "Bug"