From: Jean Privat Date: Thu, 20 Aug 2015 14:45:44 +0000 (-0400) Subject: Merge: Intro Codec X-Git-Tag: v0.7.8~80 X-Git-Url: http://nitlanguage.org Merge: Intro Codec As UTF-8 is now part of Nit, the standard imposes conforming implementations to properly handle borderline cases like overlong sequences and such. The codec defined here sanitizes an input before letting Nit play with it, avoiding potential security [issues](https://www.owasp.org/index.php/Canonicalization,_locale_and_Unicode) The codec architecture can also be used later to handle different codings for source files (that or we decide that all that is not UTF-8 is to be rejected/misinterpreted) or text. Pull-Request: #1628 Reviewed-by: Jean Privat Reviewed-by: Alexandre Terrasa --- a672b1d158eeb2cbf1dfb5316f6f37c558971832