[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
   http://www.khronos.org/webgl/public-mailing-list/archives/1104/msg00043.html

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
later.

-- 
John A. Tamplin
Software Engineer (GWT), Google

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------