Skip to content
  • Joel Hockey's avatar
    Fixed ICU to set flush correctly and provide pivot buffer. · 0b19f236
    Joel Hockey authored and Nick Wellnhofer's avatar Nick Wellnhofer committed
    By always setting flush=TRUE when doing multiple reads, ICU
    will not correctly handle truncated utf8 chars across read
    boundaries.
    
    The fix is to set flush=TRUE only on final read, and to
    provide a pivot buffer which is maintained by libxml
    between calls to ucnv_convertEx.
    0b19f236