This is the mail archive of the gcc-bugs@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]

[Bug libfortran/35863] [F2003] Implement ENCODING="UTF-8"



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2008-08-16 06:11 -------
Subject: Bug 35863

Author: jvdelisle
Date: Sat Aug 16 03:38:31 2008
New Revision: 139147

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139147
Log:
2008-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/35863
        * intrinsics/selected_char_kind.c: Enable iso_10646.
        * io/read.c (typedef uchar): New type.
        (read_utf8): New function to read a single UTF-8 encoded character.
        (read_utf8_char1): New function to read UTF-8 into a KIND=1 string.
        (read_default_char1): New functio to read default into KIND=1 string.
        (read_utf8_char4): New function to read UTF-8 into a KIND=4 string.
        (read_default_char4): New function to read UTF-8 into a KIND=4 string.
        (read_a): Modify to use the new functions.
        (read_a_char4): Modify to use the new functions.
        * io/write.c (error.h): Add include. (typedef uchar): New type.
        (write_default_char4): New function to default write KIND=4 string.
        (write_utf8_char4): New function to UTF-8 write KIND=4 string.
        (write_a_char4): Modify to use new functions.
        (write_character): Modify to use new functions.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/intrinsics/selected_char_kind.c
    trunk/libgfortran/io/read.c
    trunk/libgfortran/io/write.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35863


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