Mercurial > hg > xemacs-beta
view netinstall/version.pl @ 1267:c57f32e44416
[xemacs-hg @ 2003-02-07 01:43:05 by ben]
fix unicode/utf misdetection
unicode.c: UTF-8 detector was totally bogus and detected almost anything as UTF-8.
UTF-16 detector got overly happy with 0x2028's (line separator,
also space+paren).
author | ben |
---|---|
date | Fri, 07 Feb 2003 01:43:07 +0000 |
parents | 3078fd1074e8 |
children |
line wrap: on
line source
while (<STDIN>) { if (/^\$Revision:\s*([0-9\.]*)/) { print "char *version = \"$1\";\n"; print "static char *id = \"\\n%%% setup-version $1\\n\";\n"; } }