http://gcc.gnu.org/onlinedocs/gfortran/SELECTED_005fCHAR_005fKIND.html
only mentions DEFAULT and ASCII, it should also include ISO_10646 and possibly some example for it. Possible example (requires an UTF-8 terminal): use iso_fortran_env implicit none integer, parameter :: wc = selected_char_kind('ISO_10646') integer, parameter :: ac = selected_char_kind('ASCII') character(kind=wc,len=20) :: hello4 character(kind=ac,len=20) :: hello1 hello1 = ac_'Hello' hello4 = wc_'Hello and '//char(int(z'4F60'),wc)//char(int(z'597D'),wc) open(output_unit,encoding='utf-8') write(*,'(5a)') '>',trim(hello1),'<' write(*,'(3a)') '>',trim(hello4),'<' end -- Summary: intrinsic.texi: SELECTED_CHAR_KIND should mention wide- char support Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45295