# How do I file-read French special characters like é etc?

**URL:** <https://fortran-lang.discourse.group/t/how-do-i-file-read-french-special-characters-like-e-etc/6618>\
**Category:** Help\
**Created:** [October 10, 2023, 6:13am UTC](https://fortran-lang.discourse.group/t/how-do-i-file-read-french-special-characters-like-e-etc/6618 "2023-10-10T06:13:19Z")\
**Posts on this page:** 1\
**Showing post:** 39

<div class="post-metadata">

**Author:** ![vmagnin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/vmagnin/32/28_2.png) [@vmagnin](https://fortran-lang.discourse.group/u/vmagnin)\
**Post date:** [January 15, 2024, 8:30pm UTC](https://fortran-lang.discourse.group/t/how-do-i-file-read-french-special-characters-like-e-etc/6618/39 "2024-01-15T20:30:34Z")

</div>

> [@davidpfister](#):
>
> I just think that Intel compilers do not support the ucs4 character kinds like gfortran does.

Indeed, if I replace  
`character(len=100, kind=ucs4) :: string`  
simply by  
`character(len=100) :: string`  
in my program, ifx does read my UTF-8 file, does print the French characters in terminal and does write correctly the UTF-8 `utf_out.txt` file…

```plaintext
$ ifx fr.f90 && ./a.out
Lire des caractères accentués n'est pas difficile. Inutile d'apprendre ça par cœur.    
éèçàâäùëêïîüûöô

```

But the program then does not work anymore correctly with GFortran…

Things are not yet clear in my mind…

---

_[View the full topic](https://fortran-lang.discourse.group/t/how-do-i-file-read-french-special-characters-like-e-etc/6618)._
