Seafile server, internal server error on diacritics

Hi, I am having a problem, if I try to add a file or a folder with non latin character it fails with error 500. What I have in logs, for a test file named: Zażółć gęślą jaźń.pdf

02/Aug/2019:06:09:37 +0200] “GET /api/v2.1/repos/758cdd1c-d543-469b-8f48-8003cf9bd1fc/file-uploaded-bytes/?parent_dir=%2F&file_name=Za%C5%BC%C3%B3%C5%82%C4%87+g%C4%99%C5%9Bl%C4%85+ja%C5%BA%C5%84.pdf HTTP/2.0” 500 37 “[it used to be https here]://” “Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”

[08/02/19 06:09:37] …/common/seaf-db.c(622): Error exec prep stmt: mysql_stmt_execute failed: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation ‘=’.

And the [web] client hangs on “sending file 0%”. I am currectly using newest - 7.0.4 server from your distribution.