[Bug 17620] Add steps to convert a sequence of Unicode characters to a DOMString

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17620

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2012-06-28 02:38:36 UTC ---
I think the reason that I didn't include this reverse algorithm was because
there's only one correct way of converting a Unicode string into UTF-16 code
units (whereas going the other way you need to deal with illegal UTF-16
sequences so there were some different approaches we could have taken) so you
could probably just write a single line in your spec saying for example

  Let s be the DOMString that represents the sequence of code units resulting
  from encoding the sequence of Unicode characters t as UTF-16.

I guess I just want to avoid re-specifying the UTF-16 encoding algorithm.  But
if you think the above is not precise enough I guess I can add your suggested
text.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 28 June 2012 02:38:39 UTC