commit | 0b19f236a263a7b0acacd4ea84dc7237303ee3d9 | [log] [tgz] |
---|---|---|
author | Joel Hockey <joel.hockey@gmail.com> | Wed Oct 25 18:11:12 2017 -0700 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Sat Nov 04 15:25:31 2017 +0100 |
tree | 57e8dd6fe5364a3187087f0edc4fd9f6682c5e28 | |
parent | 4b4135977e82b7c9d3bba87a24fb7b5609312e14 [diff] |
Fixed ICU to set flush correctly and provide pivot buffer. 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.