martin      99/12/26 11:30:35

  Modified:    src/helpers GuessCodeset
  Log:
  More sensible fallback default
  
  Revision  Changes    Path
  1.2       +1 -6      apache-1.3/src/helpers/GuessCodeset
  
  Index: GuessCodeset
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/helpers/GuessCodeset,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GuessCodeset      1999/12/23 17:13:19     1.1
  +++ GuessCodeset      1999/12/26 19:30:35     1.2
  @@ -1,14 +1,9 @@
   #!/bin/sh
  -#a       0141     97     0x61
  -#s       0163    115     0x73
  -#c       0143     99     0x63
  -#i       0151    105     0x69
  -#i       0151    105     0x69
   case `awk 'BEGIN 
{printf("%c%c%c%c%c<->%c%c%c%c%c%c\n",97,115,99,105,105,133,130,131,132,137,131);}'`
 in
       ascii*)     echo ASCII;;
       *ebcdic)    echo EBCDIC;;
       *)          echo >&2 "ERROR: Your platform codeset could not be detected 
correctly."
                echo >&2 "Assuming ASCII. Please send an EMail to <[EMAIL 
PROTECTED]>"
                echo >&2 "describing the platform in use. Is your AWK broken?"
  -             ;;
  +             echo ASCII;;
   esac
  
  
  

Reply via email to