3 ms·
Does anyone know what is the current state of UTF-8 support in OpenBSD? Last time I tired it I had big problems with it in base install. Both editors and mando
by sirmac1k 4y ago
Does anyone know what is the current state of UTF-8 support in OpenBSD?
Last time I tired it I had big problems with it in base install. Both editors and mandoc were falling short in that regard.
- icybox 4y agoText console is ASCII. Xorg speaks UTF-8 fluently. Just set LC_CTYPE=cs_CZ.UTF-8 in .xsession or equivalent (locale -a) and you're good to go.
- sirmac1k 4y agoThanks. Unfortunately that's what I was afraid of. I need it mostly in TTY, so still gonna wait for some improvements there.
- johnisgood 4y agoExtended ASCII, that is. So, there are characters such as á, ű, ó and whatnot. Many people think that "lack of UTF-8" or "ASCII only" means there are no such characters.
- sph 4y agoThere is no such thing as extended ASCII, as the standard only specifies characters up to 0x7F. What comes after is implementation dependent, DOS/Windows had code pages, there's ISO standards, SHIFT-JIS, etc. none of which are compatible with each other.
- johnisgood 4y agoGlad to hear that. In that case text console in OpenBSD is not ASCII since I can pretty much both type and see those characters, right?! I mean, why say that it is ASCII-only if extended ASCII does not exist, yet those characters are displayed properly?
- sph 4y agoProbably it's defaulting to ISO-8859-1, which is a superset of ASCII for Western European languages. I don't use OpenBSD.