gcc/libgfortran/io
Jerry DeLisle 3ae86bf4f4 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
2008-08-16 03:38:31 +00:00
..
close.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
fbuf.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-06-13 20:28:08 +00:00
file_pos.c re PR fortran/36890 (libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned) 2008-07-22 10:27:10 +00:00
format.c re PR fortran/29835 (Error message of unknown edit descriptor needs improvement) 2008-07-22 19:05:55 +02:00
inquire.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-06-13 20:28:08 +00:00
intrinsics.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
io.h re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-06-13 20:28:08 +00:00
list_read.c re PR fortran/36582 (Namelist I/O error: Bogus "Cannot match namelist object") 2008-07-23 04:29:15 +00:00
lock.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
open.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-06-13 20:28:08 +00:00
read.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-08-16 03:38:31 +00:00
size_from_kind.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
transfer.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-06-13 20:28:08 +00:00
unit.c Part 1 of PR 25561. 2008-05-15 18:53:34 +03:00
unix.c Part 1 of PR 25561. 2008-05-15 18:53:34 +03:00
write.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-08-16 03:38:31 +00:00
write_float.def re PR libfortran/36857 (Non-English locale breaks gfortran float formatting ("printf is broken")) 2008-07-21 04:44:10 +00:00