[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] String support in DataView

Has there been any discussion on this since

Right now, to extract UTF8 text from a ArrayBuffer, you have to do the
decoding in JS, which is slow and error prone.

>From the linked discussion, there was a suggestion that arbitrary
character sets would be required.  However, that could require a lot
of effort on the implementors and be hard to agree on what character
sets should be supported -- I would suggest just supporting
UTF8/UTF16LE/UTF16BE initially as they require no tables to implement,
and maybe if there is interest/demonstrated need more could be added

John A. Tamplin
Software Engineer (GWT), Google

You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl