Re: IDL: special DOMString that converts to Unicode

On Mon, 29 Oct 2012 00:14:59 +0200, Robin Berjon <robin@w3.org> wrote:

> On 26/10/2012 12:59 , Anne van Kesteren wrote:
>> I think we should introduce UTFString to make this conversion explicit
>> and not bother tons of standards with boilerplate language that is
>> easily forgotten.
>
> [Bikeshed Advisory]
>
> In which case can we just call it "string"?

I think it's better if it's clear that it's only supposed to be used where  
the overhead of ensuring Unicode cleanness is necessary, which "string"  
doesn't communicate. UTFString seems a bit clearer;  
DOMStringWithoutLoneSurrogates is clearer still but quite long.

-- 
Simon Pieters
Opera Software

Received on Sunday, 28 October 2012 23:36:49 UTC