From 45dd6bf764064c3b2a9f087d8206179f514638ac Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Thu, 17 Feb 2005 19:00:48 +0000 Subject: Changes/additions to input character set handling: - After discussion with Simon, change the default input charset back to ASCII, rather than trying to work it out from the locale, for the sake of promoting .but file portability. - Add a new command-line option "--input-charset=csname", which overrides the ASCII default for all input files (since there's no other way to use a non-ASCII-compatible input file). - Output a warning if -Cinput-charset:foo is specified that it has no effect. - Update the docs to match all this. Also try to clarify some other things in this area that caught me out. [originally from svn r5332] --- halibut.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'halibut.h') diff --git a/halibut.h b/halibut.h index f76d059..8c7caed 100644 --- a/halibut.h +++ b/halibut.h @@ -206,6 +206,8 @@ enum { err_nomemory, /* out of memory */ err_optnoarg, /* option `-%s' requires an argument */ err_nosuchopt, /* unrecognised option `-%s' */ + err_cmdcharset, /* unrecognised charset %s (cmdline) */ + err_futileopt, /* futile option `-%s'%s */ err_noinput, /* no input files */ err_cantopen, /* unable to open input file `%s' */ err_nodata, /* no data in input files */ -- cgit v1.1