Jan Johansson <[email protected]> wrote: > start an "uxterm" > > I then run cat and type four swedish characters and then try to > backspace two of them. The display is updated correctly but > hitting enter shows that only one of the characters was erased.
Yes. Those "Swedish characters" are encoded as two-byte sequences in UTF-8. > So what am I doing wrong? Is this a lack of locale support in > OpenBSD The shell doesn't know about multi-byte characters, it assumes that one character equals one byte. Providing basic locale support is not enough, there are a ton of changes requires in miscellaneous system utilities to properly handle multi-byte characters, locale-specific sorting, etc. -- Christian "naddy" Weisgerber [email protected]

