New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors on install/after upgrade of OJS instance with Ukrainian locale #5580
Comments
Can you provide us with some sample Cyrillic to use? |
E.g., the title that fails to be recognized like utf-8 looks:
I was able to install OJS with Ukrainian locale through command line and the same title is encoded in the database as:
(I've run submission with the same title though the workflow) |
I was unable to reproduce this. However, I wasn't working from the package download. Here's what I did:
Since the All Active list is lazy loaded, that would have loaded from the API. I suspect there's a database issue on your end, but I'm not good enough with character sets to know what that might be. I'm out of time this afternoon, but if you want, I can try out an install direct from the downloadable package tomorrow. |
Oh, one other thing: I didn't use Ukraine as primary language. I used it as an additional language. I'll try one real quick with Ukraine as primary language. |
I've encountered the problem only with the package download. The same test instance was upgraded normally 2 days ago to master branch |
let me check master |
(Same when using Ukraine as primary language.) |
@Vitaliy-1, could this be a side-effect of the |
I just tested installing from the package and the characters came out ok for me. |
@asmecher, have no idea. |
It seems that I found the problem. |
Ahh, I see, |
If I recall correctly, @Vitaliy-1, the |
This has been reported elsewhere as fixed by creating the database with |
Same issue with Hungarian. Creating database beforehand is a workaround. |
During the install of a fresh OJS 3.2 instance or after the upgrade to 3.2 I get problems related to database entries with Cyrillic script
To reproduce the problem during install:
I receive:
Another problem that I think is related appears after the upgrade of test OJS instance that uses Ukrainian locale. Upgrade process runs without problems but when I try access submissions in the dashboard I recieve:
Checking
PKPBackendSubmissionsHandler::getMany
I noticed that in$data
all Ukrainian fields have improper encoding, e.g.:Although they seem to be properly encoded in the database.
executing
SELECT @@character_set_database, @@collation_database
givesutf8mb4 | utf8mb4_general_ci
mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64)
mysqld Ver 5.7.29-0ubuntu0.18.04.1 for Linux on x86_64
The text was updated successfully, but these errors were encountered: