[webkit-dev] localStorage quota limit - followup
darin at apple.com
Wed Dec 23 20:25:23 PST 2009
On Dec 23, 2009, at 1:19 PM, William Edney wrote:
> From following the thread earlier, it didn't seem like anyone would have a major objection to using UTF-8 instead of UTF-16 for localStorage on Webkit.
Maciej did have an objection to doing this in a simplistic way (always using UTF-8). He wrote:
>> ECMAScript Strings are essentially sequences of arbitrary 16-bit values. Sometimes Web apps take advantage of this to use a String as a hacky way to represent binary data. I don't think we should reject such strings arbitrarily.
If someone can find a way to do use a more compact encoding “opportunistically”, but still allow any arbitrary 16-bit value for any character, I’m open to that. If not, please note that Maciej’s objection is one that I share.
More information about the webkit-dev