This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> This goo belongs in the code that sets the default for > CPP_OPTION (pfile, input_charset). I suspect that means "somewhere in > opts.c". Neil may be able to comment more specifically. > > In read_file_guts, CPP_OPTION (pfile, input_charset) ought to > be usable unconditionally. > Here's an updated patch with only this waiting. Bootstrapped and tested C only. Full test ongoing. > > +@item -finput-charset=@var{charset} > > +@opindex finput-charset > > +Set the input character set, used for translation from the character > > +set of the input file to the source character set used by GCC. The > > +default incoming is UTF-8. @var{charset} can be any encoding > > +supported by the system's @code{iconv} library routine. > > I don't see where the default is established. cppinit.c, and I'd mistakenly left it as ISO-8859-1 so I've fixed it in this incarnation. For Geoff I've diffed -cw. -eric -- Eric Christopher <echristo@redhat.com>
Attachment:
charset.diff2
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |