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 22944 - "Whenever the encoder algorithm emits an encoder..."
Summary: "Whenever the encoder algorithm emits an encoder..."
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 21:49 UTC by Ian 'Hixie' Hickson
Modified: 2013-09-04 13:37 UTC (History)
1 user (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2013-08-13 21:49:01 UTC
http://url.spec.whatwg.org/#parsing

[[
Whenever the encoder algorithm emits an encoder error, emit a 0x3F byte instead
]]

What does it mean for the URL parser to emit a byte?

Or is this supposed to modify the encoder? In which case this should probably be "Whenever the encoder algorithm _would_ emit an...".
Comment 1 Anne 2013-08-30 13:13:45 UTC
https://github.com/whatwg/url/commit/8d37f1c957509d69b1c2c2f94887e3d5c8a1585f

These should really become settings in the Encoding Standard in due course. This feels kinda hackish.
Comment 2 Anne 2013-09-04 13:37:24 UTC
Note that this is now solved in an even better way, with the Encoding Standard taking care of the details.