diff options
author | Julien Palard <julien@palard.fr> | 2016-07-19 00:48:55 +0200 |
---|---|---|
committer | Julien Palard <julien@palard.fr> | 2016-07-19 00:48:58 +0200 |
commit | 089fa36ad806246278b43df8dadb9a7882d39e54 (patch) | |
tree | 9fc83c7635f9bf7fc60aba58432d22d35d48bae4 /debian | |
parent | ccf04c19111b1a2ccae7a16bb07a38a528a34a64 (diff) | |
download | moreutils-089fa36ad806246278b43df8dadb9a7882d39e54.tar.gz |
Merge is_utf8 from https://github.com/julienpalard/is_utf8.
isutf8 was replaced by this new one for the following reasons:
- noncharacters (ending with 0xFFFF and 0xFFFE) were considered
invalid when encoded in utf8, according to the unicode standard
they are valid: "However, they are not illegal in interchange, nor
does their presence cause Unicode text to be ill-formed."
- \xf4\xbf\xbf\xbf was considered valid UTF8, which is not: after
0xF4 the following byte should be between 80 and 8F.
- this implementation does not try to decode the stream, so it checks
it faster.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/copyright | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/copyright b/debian/copyright index 7ba0318..9c5432a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,9 +5,9 @@ Files: * Copyright: 2006-2015 Joey Hess <id@joeyh.name> License: GPL-2+ -Files: isutf8.* -Copyright: 2005 Lars Wirzenius -License: GPL-2+ +Files: is_utf8/* +Copyright: 2016 Julien Palard +License: FreeBSD License Files: sponge.* Copyright: 2006 Tollef Fog Heen |