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]

update cpplib documentation for -finput-charset=


Self-explanatory.  Tested with a bootstrap.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/gcc-doc-inputcharset.patch================
2005-10-20  Geoffrey Keating  <geoffk@apple.com>

	* doc/cpp.texi (Character sets): Document that we do support
	input files to be in any character set.

Index: gcc/doc/cpp.texi
===================================================================
--- gcc/doc/cpp.texi	(revision 111372)
+++ gcc/doc/cpp.texi	(working copy)
@@ -251,12 +251,8 @@
 character set.  It must be isomorphic with ISO 10646, also known as
 Unicode.  CPP uses the UTF-8 encoding of Unicode.
 
-At present, GNU CPP does not implement conversion from arbitrary file
-encodings to the source character set.  Use of any encoding other than
-plain ASCII or UTF-8, except in comments, will cause errors.  Use of
-encodings that are not strict supersets of ASCII, such as Shift JIS,
-may cause errors even if non-ASCII characters appear only in comments.
-We plan to fix this in the near future.
+The character sets of the input files are specified using the
+@option{-finput-charset=} option.
 
 All preprocessing work (the subject of the rest of this manual) is
 carried out in the source character set.  If you request textual
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]