From: Damian Okrasa Date: Tue, 25 Mar 2014 19:20:26 +0000 (+0100) Subject: new utf decoder X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/45b808b88ee63f21a188800ba3473a24a3c4b987?hp=45b808b88ee63f21a188800ba3473a24a3c4b987 new utf decoder This patch replaces current utf decoder with a new one, which is ~50 lines shorter and should be easier to understand. Parsing 5 and 6 sequences, if necessary, requires trivial modification of UTF_SIZ constant and utfbyte, utfmask, utfmin, utfmax arrays. ---