# Сan't read path for files with Cyrillic names in HTML5 build

**URL:** <https://forums.solar2d.com/t/ant-read-path-for-files-with-cyrillic-names-in-html5-build/356630>\
**Category:** HTML5\
**Created:** [July 2, 2024, 10:38am UTC](https://forums.solar2d.com/t/ant-read-path-for-files-with-cyrillic-names-in-html5-build/356630 "2024-07-02T10:38:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirill1209102](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/439d5e/32.png) [@kirill1209102](https://forums.solar2d.com/u/kirill1209102)\
**Post date:** [July 2, 2024, 10:38am UTC](https://forums.solar2d.com/t/ant-read-path-for-files-with-cyrillic-names-in-html5-build/356630/1 "2024-07-02T10:38:57Z")

</div>

I use json to store data.  
If the name of this json is written in Cyrillic, then such a file is not loaded into HTML5 (everything works fine in the simulator and in Android).  
The text itself, which is entirely in Cyrillic, does not cause any problems.  
The only problem is opening a file with a Cyrillic name.

For example:  
“Ресурсы.json” - problem  
“Ресурсы/Resources.json” - problem  
“Resources.json” - NO problem  
“Resources/Resources.json” - NO problem

The browser console displays the following error:  
_ERROR: Runtime error_  
_?:0: attempt to concatenate field ‘?’ (a nil value)_  
_stack traceback:_

errorString from io.open:  
_no such file or directory_

A similar problem is loading any resources (images, etc.) from any folders with a Cyrillic name.

For example:  
“Изображения/Logo.png” - problem  
“Images/Logo.png” - NO problem

Is there a way to fix this problem without changing the names to Latin?

---

<div class="post-metadata">

**Author:** ![Qugurun](https://forums.solar2d.com/user_avatar/forums.solar2d.com/qugurun/32/3698_2.png) [@Qugurun](https://forums.solar2d.com/u/Qugurun)\
**Post date:** [July 3, 2024, 1:18am UTC](https://forums.solar2d.com/t/ant-read-path-for-files-with-cyrillic-names-in-html5-build/356630/2 "2024-07-03T01:18:24Z")

</div>

You may not know, but it is recommended to work with files without Cyrillic, this is not specifically related to the Russian language, just make it a rule that all paths and names should be in Latin and then you will have no problems. And this applies not only to the engine, it also applies to the user name in the operating system, the name of the projects and the name of the project itself, forget about the Cyrillic alphabet in your software paths.
