Hello Alastair, Alastair McKinstry schrieb: > The problem is that 'characters not in the current locale' are garbage > bytes as far as _any_ software is concerned: if you enter some > 'non-locale character' whiptail gets a bunch of uninterpretable bytes. > it can't even reliably figure out what was the last 'real' character > before these. whiptail is not unique in this: it is true of all > software. Its just that whiptail is in the front of the pipeline to > receive and display them.
Is it even not possible to prevent the user from entering non-locale characters? As a user I would prefer to get multiple other but legal characters when I enter a non-locale character, wich I am able to delete just after. In cases where I enter such a non-locale character by accident I would at least be able to correct my mistake. > The solution is to ensure such garbage characters don't get entered into > whiptail, etc. (or other X programs). Use a non C locale, in particular > use UTF-8, and make sure all programs produce UTF-8. Well, but that's what I'm asking for: Whiptail shouldn't accept those garbage characters if the locale doesn't support them. Remeber: I wasn't even willing to enter these ugly garbage characters... Please think it over again. Yours Micha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]