Hi!
Nextcloud 15.05 with Apache, PHP 7.2 on CentOS 7.
Within web interface all characters is ok, but in the audit.log I see:
{“reqId”:“XJOsovipd892X55OlpRZ4AAAAAs”,“level”:1,“time”:“2019-03-21 18:24:18”,“remoteAddr”:“10.0.0.166”,“user”:“g.perova”,“app”:“admin_audit”,“method”:“MOVE”,“url”:"/remote.php/dav/uploads/g.perova/web-file-upload-c0083ee7a8723bccb6b3d6485a11a67b-1553181883204/.file",“message”:“File written to: “/Gazprombank/\u0414\u041e\u0413\u041e\u0412\u041e\u0420 19122019_2 (\u0440\u0430\u043c\u043a\u0430).7z””,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134”,“version”:“15.0.5.3”}
After “File written to: “”/Gazprombank/” is wrong symbols, file name must be on russian. How solve this problem?
Thanks,
Best regards,
Andrew.
The file name is unicode encoded, where e.g. \u0414 stands for the following cyrillic character: . So no information got lost at the end. I would assume you use, e.g. utf-8 as character set on your server which couldn’t be used to show the mentioned character?! (I must admit, that I haven’t double-checked thist )
You wrote that you’ve changed the locale, I assume that you did this in your server environment?
If yes, please keep in mind that a web server usually has it’s own configuration parameter which defines the character set to be used.
I don’t know if this will solve your problem, but it might also be possible that the problem is base on a character mismatch between Windows and Linux.
If you ask aunt G. for this kind of problem you will find a lot of information, like https://www.zen-cart.com/showthread.php?121221-Problems-with-displaying-Russian-characters-and-UTF-8
Hi, j-ed.
I have not problem with displaying russsian symbols in browsers - I was try IE, FireFox, Chrome.
I have a problem only with “audit.log” file.
I checke codepages of MariaDB, Apache, PHP - all of them set to UTF8 codepage.
Audit.log - is critical log, without him I can’t put the Nextcloud in production mode.
What can I do next for resolve this problem?
Thanks.