elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
tui
/
runes.h
File editor
#ifndef __RUNES__H #define __RUNES__H /* UCS-2/UCS-4 to UTF-8 conversion library */ #include <stdint.h> #define RUNE_UTF32 0 /* A Rune is 16-bits for ELKS, 32-bits for Linux/UNIX */ #if RUNE_UTF32 typedef int32_t Rune; /* full UTF-32 encoding */ #else typedef uint16_t Rune; /* UCS-2 encodings only */ #endif int isvalidrune(Rune r); /* is Rune valid? */ int runelen(Rune r); /* UTF-8 length of Rune */ int runetostr(char *s, Rune r); /* convert Rune to UTF-8 + NUL, return length */ #endif
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history