PR# 4688 Null character in verbatim string causes Pango warning about invalid UTF-8 string
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2005/05/09
Class: Bug
Severity: Serious
Number: 4688
Release: 5.6.0906 beta
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030625
SunOS marten.isi.edu 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Blade-1000
Synopsis: Null character in verbatim string causes Pango warning about invalid UTF-8 string
Description
Compile with attached class, after first replacing every occurrence of the word NULL with the null character (not %U, but literally a null character). In Context window, select Clickable format. Look at entire class. Get Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
To Reproduce
See attached class.
Problem Report Interactions
reopening
No, it is not fixed in 5.7.63002. The Pango warning was displayed when I compiled the class (attached) on Solaris 9 on SPARC using GTK+2.6.10, but was not displayed on Solaris 10 on x86 using GTK+2.4. Don't forget to replace all occurrences of NULL with null character (not %U) in test.e before compiling.
The attachment is missing from the report. But I believe that now since everything in STRING_32 in Vision2 this should work ok.