2004-01-16 Eric Christopher <echristo@redhat.com>
commit787c3d1abe09b2d7bf65ca8f69278d7d905c27c4
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jan 2004 22:37:49 +0000 (16 22:37 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jan 2004 22:37:49 +0000 (16 22:37 +0000)
tree95190a526a0984976fac3a95910e9a5e961bea4e
parent85f3b29c93fbb6a78e9c68a11a2523fc0e346d7e
2004-01-16  Eric Christopher  <echristo@redhat.com>
    Chandrakala Chavva <cchavva@redhat.com>

* cppcharset.c (one_iso88591_to_utf8): New function.
(convert_iso88591_utf8): Ditto. Use.
(conversion_tab): Use.
(_cpp_input_to_utf8): New function.
(_cpp_init_iconv_buffer): Ditto.
(_cpp_close_iconv_buffer): Ditto.
* cpphash.h: Prototype new functions.
(cpp_buffer): Add input_cset_desc.
* cppinit.c: Add input_charset default.
* cpplib.c (cpp_push_buffer): Support init and
close of iconv.
* cpplib.h (cpp_options): Add input_charset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76000 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cppcharset.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplib.c
gcc/cpplib.h