Feature #31

avatar

IO.Stream.read + surrogate pairs

Added by Ash Berlin 519 days ago. Updated 268 days ago.

Status:New Start:04/05/2009
Priority:High Due date:
Assigned to:- % Done:

0%

Category:IO
Target version:0.10

Description

IO.Stream.read takes number of bytes to read. However it returns UTF-8 data. This could end up reading the first byte of a surrogate pair. Currently this will probably die with an exception.

We might want to change it to read a number of characters rather than bytes.


Related issues

blocked by Feature #32 Encoding support for IO New 04/06/2009

History

Updated by Aristid Breitkreuz 518 days ago

avatar
  • Category set to IO

Updated by Aristid Breitkreuz 316 days ago

avatar
  • Target version set to 1.0

Updated by Aristid Breitkreuz 268 days ago

avatar
  • Target version changed from 1.0 to 0.10
  • Severity set to Normal

Updated by Aristid Breitkreuz 268 days ago

avatar
  • Tracker changed from Bug to Feature

Also available in: Atom PDF