This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9096 - Mapping U+0000 to U+FFFD regresses rendering of pages
Summary: Mapping U+0000 to U+FFFD regresses rendering of pages
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-20 11:04 UTC by Simon Pieters
Modified: 2010-10-04 13:54 UTC (History)
4 users (show)

See Also:


Attachments

Description Simon Pieters 2010-02-20 11:04:49 UTC
http://www.depmod.com/albums/some_great_reward/a0470.htm has null chars that appear as question marks in the rendering when using the html5 parser.
Comment 1 Ian 'Hixie' Hickson 2010-02-25 11:19:44 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: This is a known issue. The treatment of U+0000 as something other than U+0000 is intentional as defence-in-depth against a variety of attacks based on code that treats U+0000 as a string terminator. As such, unless it breaks a significant number of pages, I think we're better off with this behaviour, even if it does affect a few pages in the meantime.