Unicode characters (Cyrillic) with Intel Fortran

Does anyone have experience using Unicode in Fortran? How to transfer Cyrillic characters and open files with Cyrillic characters in their names?

More details:

I have a Fortran executable that should read parameters from a control file. Some of these parameters are in Cyrillic (for example, file paths).

The executable call calls the C ++ DLL. Some parameters of these calls must be in Cyrillic.

I am using the latest Intel Fortran.

I am looking for any source of information or small examples of how to do this.

+4
source share
2 answers

As already stated, Fortran 2003 has a Unicode character type. Exactly what functions will work with this type of character ... I don't know ... file names? I do not mention Unicode in the release notes for the Intel Fortran compiler. In 2006, Intel indicated that this feature has low priority (http://software.intel.com/en-us/forums/showthread.php?t=51751). You can ask in the Intel forums ... probably an Intel representative will answer about the capabilities of the Intel compiler. If the Intel Fortran compiler cannot handle Unicode, you may need to do this I / O in a different language.

+2
source

So far I have not done anything like this, so do not have personal experience on this, just googling "fortran unicode" shows some interesting results.

Gfortran seems to support some moderate support (e.g., scrolling down a bit). In addition, Tobian Bernus' answer in this topic sheds a little more light on this question - it seems that there is progress in this field, in F2003 and (upcoming) F2013, but at the moment it really does not represent one of the priorities.

+1
source

All Articles