Re: [PATCH v8 7/7] convert: add round trip check based on 'core.checkRoundtripEncoding'

2018-03-04 Thread Eric Sunshine
On Sun, Mar 4, 2018 at 2:08 PM, Lars Schneider wrote: >> On 25 Feb 2018, at 20:50, Eric Sunshine wrote: >> On Sat, Feb 24, 2018 at 11:28 AM, wrote: >>> + if (!re_src || src_len != re_src_len || >>> + memcmp(src, re_src, src_len)) { >>> + con

Re: [PATCH v8 7/7] convert: add round trip check based on 'core.checkRoundtripEncoding'

2018-03-04 Thread Lars Schneider
> On 25 Feb 2018, at 20:50, Eric Sunshine wrote: > > On Sat, Feb 24, 2018 at 11:28 AM, wrote: >> UTF supports lossless conversion round tripping and conversions between >> UTF and other encodings are mostly round trip safe as Unicode aims to be >> a superset of all other character encodings. H

Re: [PATCH v8 7/7] convert: add round trip check based on 'core.checkRoundtripEncoding'

2018-02-25 Thread Eric Sunshine
On Sat, Feb 24, 2018 at 11:28 AM, wrote: > UTF supports lossless conversion round tripping and conversions between > UTF and other encodings are mostly round trip safe as Unicode aims to be > a superset of all other character encodings. However, certain encodings > (e.g. SHIFT-JIS) are known to h

[PATCH v8 7/7] convert: add round trip check based on 'core.checkRoundtripEncoding'

2018-02-24 Thread lars . schneider
From: Lars Schneider UTF supports lossless conversion round tripping and conversions between UTF and other encodings are mostly round trip safe as Unicode aims to be a superset of all other character encodings. However, certain encodings (e.g. SHIFT-JIS) are known to have round trip issues [1].