# Because CMake-gui does not use UTF-8 (without BOM) for URLs?

**URL:** https://discourse.cmake.org/t/because-cmake-gui-does-not-use-utf-8-without-bom-for-urls/5335
**Category:** Usage
**Tags:** os:windows, tool:cmake
**Created:** [March 30, 2022, 9:11pm UTC](https://discourse.cmake.org/t/because-cmake-gui-does-not-use-utf-8-without-bom-for-urls/5335 "2022-03-30T21:11:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Briceno](https://discourse.cmake.org/user_avatar/discourse.cmake.org/daniel_briceno/32/2313_2.png) [@Daniel\_Briceno](https://discourse.cmake.org/u/Daniel_Briceno)
#### Post date: [March 30, 2022, 9:11pm UTC](https://discourse.cmake.org/t/because-cmake-gui-does-not-use-utf-8-without-bom-for-urls/5335/1 "2022-03-30T21:11:56Z")

</div>

I have as a user a name that has the letter Unicode: ñ. So always by generating with cmake I did not find the routes, I saw the route through the file explorer and I also saw the cmakelists.txt file, it was beginning to increase my confusion, it was still reviewing all the steps for cmake. I was looking for the error that came out on all the Internet: Effice invalidated. And I could not get anything.  
Until recent mind, I would have Cmake as an administrator and to the English where I compile I see that the route that I previously gave an alert through Windows saying that the route does not exist, so it occurs to me to check the URL that showed CMake: `"C:/Users/ï¿½oï¿½o/Downloads/GML-Master/` " instead of `"C:/Users/ñoño/Downloads/GML-Master/"`(Note: The ñoño route is not the route that I used, only that I thought that by showing my real route I would put my privacy in Riesgo). Seeing this, I decide to move the complete project to `"c:/cmake-dev/gml-master/"` (Note I created the `CMake-Dev` folder to put all the projects that you must compile with CMake) and it worked.

I have reached the conclude that the coding of characters that CMake is not appropriate and advised that use UTF-8 (without boom) for character coding in the next update.

thanks for your attention.

```auto
type or paste code here

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 31, 2022, 2:14pm UTC](https://discourse.cmake.org/t/because-cmake-gui-does-not-use-utf-8-without-bom-for-urls/5335/2 "2022-03-31T14:14:14Z")

</div>

It appears as though `ï¿½` might be mojibake for Latin-1’s `ñ`. Was a path given somewhere in Latin-1 and read as UTF-8 somewhere?

---

<div class="post-metadata">

### Author: ![Daniel\_Briceno](https://discourse.cmake.org/user_avatar/discourse.cmake.org/daniel_briceno/32/2313_2.png) [@Daniel\_Briceno](https://discourse.cmake.org/u/Daniel_Briceno)
#### Post date: [April 5, 2022, 12:33pm UTC](https://discourse.cmake.org/t/because-cmake-gui-does-not-use-utf-8-without-bom-for-urls/5335/3 "2022-04-05T12:33:55Z")

</div>

Suddenly the windows file explorer(in cmake gui has a button that allows you to search the folder with the windows file explorer) return a path with a character encoding(latin-1), that cmake gui didn’t know how to deal with(utf -8).

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [April 5, 2022, 2:12pm UTC](https://discourse.cmake.org/t/because-cmake-gui-does-not-use-utf-8-without-bom-for-urls/5335/4 "2022-04-05T14:12:03Z")

</div>

Could you please open [an issue](https://gitlab.kitware.com/cmake/cmake/-/issues) for this?
