⚠️ This issue respects the following points: ⚠️
Bug description
It is impossible to restore a file from the trashbin containing Cyrillic characters in the name.

In browser console log: ConsoleLogger.js:59 [ERROR] files: TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': String contains non ISO-8859-1 code point. {app: 'files', uid: 'admin-test', level: 2}
Steps to reproduce
- Create a file containing Cyrillic characters in the name, for example мир.md
- Delete file
- Go to the trashbin, try to restore the file.
Expected behavior
restore the file
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
Chrome 115.0.5790.171 (latest), Win 11
nextcloud:27.0.2-fpm
Bug description
It is impossible to restore a file from the trashbin containing Cyrillic characters in the name.

In browser console log: ConsoleLogger.js:59 [ERROR] files: TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': String contains non ISO-8859-1 code point. {app: 'files', uid: 'admin-test', level: 2}
Steps to reproduce
Expected behavior
restore the file
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
Chrome 115.0.5790.171 (latest), Win 11
nextcloud:27.0.2-fpm