Re: Removing the --enable-utf8 flag
From: Ulrich Drepper <drepper_at_redhat.com>
 
Date: 2002-07-20 20:13:09 CEST 
On Thu, 2002-07-18 at 13:29, Karl Fogel wrote:
 I like the idea of removing the option but this outlines algorithm is
 Look at this "message":
   M@]@`n@J@ZK
 Consists only of ASCII characters and therefore would pass the non_ascii
 $ echo -n 'M@]@`n@J@ZK' | iconv -f IBM870; echo
 I suggest one additional test before running the non_ascii test for the
 The checks for ASCII-safeness can be performed by string comparisons
 An encoding is ASCII-safe if
   From it's initial state it is not possible to create a character
 The catch stateful encodings etc only the printable ASCII characters are
 [*] This is one example I came up with right away.  Yes, it is a
 -- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ 
 
  | 
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.