cppcharset.c (one_iso88591_to_utf8): New function.
authorEric Christopher <echristo@gcc.gnu.org>
Fri, 16 Jan 2004 22:37:49 +0000 (22:37 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Fri, 16 Jan 2004 22:37:49 +0000 (22:37 +0000)
commitcf551fbaca9987dccd728aa2cbaff67de7393fe3
tree95190a526a0984976fac3a95910e9a5e961bea4e
parent2f9c39f8fc04b38b6aac1ad71c83b22cede8b9e9
cppcharset.c (one_iso88591_to_utf8): New function.

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.

From-SVN: r76000
gcc/ChangeLog
gcc/cppcharset.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplib.c
gcc/cpplib.h