glkote icon indicating copy to clipboard operation
glkote copied to clipboard

Unicode functions are not TypedArray safe.

Open curiousdannii opened this issue 7 years ago • 1 comments

The truncation tests in unicasetest.inf fail if glk_buffer_canon_normalize_uni is passed a Uint32Array. Possibly the other functions would fail under the right circumstances, so I'm going to pass normal arrays to all of them just to be safe.

(I know GlkApi wasn't written to be used with TypedArrays, so it's a testament to its quality that everything else up until this point has worked!)

curiousdannii avatar Jul 04 '17 13:07 curiousdannii