Introduction
Introduction Statistics Contact Development Disclaimer Help
tuc: utf-8 characters cannot be longer than 4 bytes - neatvi - [fork] simple vi…
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit a7499618cabdde63d86afcb674bbca6f452cd540
parent 09ae245a5a3197522cab51d55914d331f8512de5
Author: Ali Gholami Rudi <[email protected]>
Date: Mon, 23 May 2016 14:32:44 +0430
uc: utf-8 characters cannot be longer than 4 bytes
Diffstat:
M uc.c | 4 ----
1 file changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/uc.c b/uc.c
t@@ -18,10 +18,6 @@ int uc_len(char *s)
return 3;
if (~c & 0x08)
return 4;
- if (~c & 0x04)
- return 5;
- if (~c & 0x02)
- return 6;
return 1;
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.