Re: [webauthn] String Handling section nits (#1527)

> While the example is nicely done, the visible effect is more pronounced in some languages, such as Indic scripts (where truncating a conjunct can change the appearance and meaning much more profoundly).

If you have a good example of a sequence of indic code points that is the same number of bytes then I'll try and update the image. However, I fear that if I try to guess at that, I'll only make it worse!

> It's a little thing, but replacing a "partial code point" with U+FFFD means replacing a byte sequence that is 1, 2, or 3 bytes long with a 3 byte long sequence in UTF-8 (0xEF.BF.BD), that is, doing this operation may result in a DOMString whose UTF-8 representation is greater than the limit originally being imposed.

Thanks for the note. That's ok as 64 bytes is just the minimum that must be stored; these strings can be longer than that.


Change to address the other points coming in a second.

-- 
GitHub Notification of comment by agl
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1527#issuecomment-736020071 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 30 November 2020 20:20:39 UTC