diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-08-16 03:38:31 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-08-16 03:38:31 +0000 |
commit | 3ae86bf4f45b1f110aa7bd09ea61a8fd30c2a983 (patch) | |
tree | 659ac99319524f53dd916bbef37cd895b6a5cadb /gcc/expr.h | |
parent | dad80a1bff182651128f352095e2163534c5d81c (diff) | |
download | gcc-3ae86bf4f45b1f110aa7bd09ea61a8fd30c2a983.zip gcc-3ae86bf4f45b1f110aa7bd09ea61a8fd30c2a983.tar.gz gcc-3ae86bf4f45b1f110aa7bd09ea61a8fd30c2a983.tar.bz2 |
re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8")
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.
From-SVN: r139147
Diffstat (limited to 'gcc/expr.h')
0 files changed, 0 insertions, 0 deletions