This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The x-user-defined encoder only encodes (7-bit) ASCII. Please add a note if this is intentional.
As far as I can tell, Safari and Firefox, the ones that map from 0x80--0xFF to U+F780--U+F7FF, also map back to %80--%FF for form submission as expected.
Oh really? So it could just be defined as a single-byte encoding? I guess my testing was bogus :/ Do you have a test online?
Simple test now available at <http://coq.no/X/charset5/x-user-defined.php>: <?php header('Content-Type: text/html; charset=x-user-defined'); ?> <form> <input type="text" name="data" value="<?php echo "88\x8899\x99AA\xAABB\xBB" ?>"> <input type="submit" value="Submit"> </form> Submitting the form gives ?data=88%8899%99AA%AABB%BB.
https://github.com/whatwg/encoding/commit/05c31ac5cc7fd2c428fa78cd333ab0b4d4e13d55