Kornshell˙doesn't˙seem˙to˙handle˙umlauts˙or˙other˙non-ASCII˙Unicode characters˙correctly˙with˙the˙'select'˙statement;
Observed in ksh version AJM 93u+m/1.0.8 2024-01-01.
Op 11-01-2026 om 04:51 schreef Janis Papanagnou:
[...]
Observed in ksh version AJM 93u+m/1.0.8 2024-01-01.
FYI, you're two point releases behind.
Op 11-01-2026 om 04:51 schreef Janis Papanagnou:
Kornshell˙doesn't˙seem˙to˙handle˙umlauts˙or˙other˙non-ASCII˙Unicode
characters˙correctly˙with˙the˙'select'˙statement;
The code for showing the menu is not aware of multibyte locales. Thanks
for the report. I've fixed it for the next release. See: https://github.com/ksh93/ksh/commit/18e4cbc1
Observed in ksh version AJM 93u+m/1.0.8 2024-01-01.
FYI, you're two point releases behind.
Same for printf "%-*s" - counts octets, not printable characters.
Richard Harnden wrote:
Same for printf "%-*s" - counts octets, not printable characters.
That's what printf is supposed to do, as POSIX requires that field
widths specify the number of bytes (I assume for compatibility with
the printf() C function).
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 121:30:46 |
| Calls: | 125 |
| Calls today: | 125 |
| Files: | 489 |
| D/L today: |
859 files (365M bytes) |
| Messages: | 76,611 |
| Posted today: | 26 |