-
Notifications
You must be signed in to change notification settings - Fork 63
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
Source files with wrong encoding #6324
Comments
You know that ISO-8859-1 for the German and Spanish resources files are may correct as you did not need anything more to display the used characters correct. It even can show that the result of |
@matthias-ronge, @joergleh, you contributed the ISO-8851-1 encodings (#5214, #5903). Did you test the messages in Kitodo.Production? Did they look correct in the frontend? Would they look different with UTF-8 encoding? |
This is not an issue as the files read as an UTF-8 file and as ISO-8859-1 is part of UTF-8 there should no display issues. |
I'd prefer a test to verify your claim. Only the first 128 characters (ASCII) are identical in both encodings, so there will be differences for umlauts and Spanish characters which are not part of ASCII. |
Hi, everyone! The frontend in Spanish display all Spanish characters and messages correctly in the current version we are working with! |
That's surprising. I had expected that this subset of Spanish messages is not shown correctly. |
These messages are showed in English. Our version is the 3.5. I don't know which encoding file (ISO-8859-1 or UTF-8) this version use. |
Strange again. Release 3.5.0 should contain the Spanish translation. Are you running a local build or an official release from GitHub? |
It may be that the installation @danilopenagos refers to uses a custom |
The latest code contains two property files with ISO-8859-1 encoding:
They were found with
find * -type f | xargs file --mime | grep iso-8859-1
.Here is a complete list of all encodings in the current directory:
So there are already nearly 200 files with UTF-8 encoding (which is fine), and the two files mentioned above are the only ones with wrong encoding.
The text was updated successfully, but these errors were encountered: