News for hackers. Stuff that matters.
Re:OpenBSD 7.1 by sirmac1k on Thursday April 21, 2022 @04:45PM (#31114958)
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.

Re:OpenBSD 7.1 by icybox on Thursday April 21, 2022 @05:57PM (#31115681)
Text 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.
Re:OpenBSD 7.1 by johnisgood on Thursday April 21, 2022 @11:04PM (#31117762)
Extended 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.
Re:OpenBSD 7.1 by sph on Friday April 22, 2022 @02:53AM (#31118999)
There 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.
Re:OpenBSD 7.1 by johnisgood on Friday April 22, 2022 @05:02AM (#31119566)
Glad 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?
Re:OpenBSD 7.1 by sph on Friday April 22, 2022 @06:44AM (#31120087)
Probably it's defaulting to ISO-8859-1, which is a superset of ASCII for Western European languages.

I don't use OpenBSD.

Re:OpenBSD 7.1 by sirmac1k on Thursday April 21, 2022 @06:17PM (#31115858)
Thanks. Unfortunately that's what I was afraid of. I need it mostly in TTY, so still gonna wait for some improvements there.