On 04/13/2014 10:48 AM, Jerry DeLisle wrote: > Ping! This is PR52539 >
Without comment or objections, I will commit this patch this weekend to trunk. Regards, Jerry > On 03/29/2014 09:58 PM, Jerry DeLisle wrote: >> Hi all, >> >> The attached patch fixes namelist read/write and list directed read/write to >> support UTF-8. >> >> I have attached a preliminary test case to use to experiment with this. I >> will >> need to set it up for the testsuite still. >> >> Regression tested on x86-64-linux-gnu. >> >> OK for trunk or wait? >> >> Regards, >> >> Jerry >> >> 2014-03-29 Jerry DeLisle <jvdeli...@gcc.gnu> >> >> PR libfortran/52539 >> * io/list_read.c: Add uchar typedef. (push_char4): New function >> to save kind=4 character. (next_char_utf8): New function to read >> a single UTF-8 encoded character value. (read_chracter): Update >> to use the new functions for reading UTF-8 strings. >> (list_formatted_read_scalar): Update to handle list directed >> reads of UTF-8 strings. (nml_read_obj): Likewise update for >> UTF-8 strings in namelists. >> * io/write.c (nml_write_obj): Add kind=4 character support for >> namelist writes. >> > >