[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isprint() under utf-8 locale
On Fri, Feb 15, 2002 at 12:37:27PM +0100, Radovan Garabik wrote:
> in theory, yes
> but often it is used to filter out characters that should not
> go straight to the terminal, where they can be a source of
> a DOS attack (colour codes, switching terminal into
> graphics mode, backspaces - I happened to be a victim of such
> a joke a long time ago).
ASCII escape values are still recognized as nonprintable, so none of
these are a problem. (UTF-8 terminals shouldn't have a "graphics mode",
of course.)
--
Glenn Maynard
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/