From: Damian Okrasa Date: Tue, 25 Mar 2014 19:20:26 +0000 (+0100) Subject: new utf decoder X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=45b808b88ee63f21a188800ba3473a24a3c4b987;hp=45b808b88ee63f21a188800ba3473a24a3c4b987;p=st.git 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. ---