[fortran,patch] Add SELECTED_CHAR_KIND intrinsic
Jerry DeLisle
jvdelisle@verizon.net
Thu May 1 00:45:00 GMT 2008
Tobias Burnus wrote:
> Hello FX,
>
> FX wrote:
>> PS: Jerry, what's the status of ENCODING="..." I/O specifier? Can we
>> already claim that we support Fortran 2003 international character sets
>> (the requirements for that are fairly low, as quite a few compilers have
>> a "yes" in that column and I know none that actually supports any
>> nondefault character kind).
>
> I think with that patch we support about as much as other compilers, but
> still I would only claim PARTIAL, following NAG f95 which also has only
> ASCII support. Actually, the library implementation has a diagnostic
> bug. The following should give a run-time error (the compile-time diagnostic
> is OK):
>
> character(len=10) :: cc = 'UTF-8'
> open(99,file="dd",encoding=cc)
> write(*,*) 'HELLO'
> end
>
Hmm, I will fix this.
Jerry
More information about the Fortran
mailing list