PR# 11092 Literal null character in manifest string causes omission of following characters
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2006/08/27
Class: Bug
Severity: Non-critical
Number: 11092
Release: 5.7.63002
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20060120
Solaris 10 on x86
Synopsis: Literal null character in manifest string causes omission of following characters
Description
Replace every occurrence of NULL in test.e with the null character (not %U but an actual null character). Compile. Drop TEST in Editor. Examine TEST in Basic Text format and Clickable format. In some cases, characters following the first null in manifest string (including the trailing double-quote) are not displayed. Perhaps literal null characters should not be included in manifest strings, but if they are it is quite confusing to have following characters omitted from display.
To Reproduce
Problem Report Interactions
On windows, with the attached file null_char.e in which I use a byte of 0x0 as the null char (if I understand correctly the "real null char" you meant.), I got everything wiped out after the first 0x0 blank in basic view. In Flat view I got %U in verbatim strings and comments, a blank square in manifest strings. See attached image.
Problem occurs in both Basic and Clickable views. In Basic view, nulls seem to be ignored in comments but cause omission of following characters in manifest strings. In Clickable view, nulls in manifest strings are correctly displayed as %U, but in verbatim strings and comments they cause omission of following characters.
Just to be sure, did you have the problem in Basic view or Click view or both?