History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-711
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Sebastian Lenk
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Wrong encoding of Umlaute in ApplicationResources_de and correction of some misspelling

Created: 28/Mar/07 04:33 PM   Updated: 28/May/07 05:08 PM
Component/s: i18n
Affects Version/s: 2.0-M4
Fix Version/s: 2.0-M5

File Attachments: 1. File ApplicationResources_de.properties (8 kb)
2. Text File patch-ApplicationResources_de.patch (13 kb)



 Description  « Hide
The "umlaute" where not encoded correctly for the "de" locale.
There where some misspelling.
I corrected them in the attached patch.

I also included the the Issue APF-640 in this patch.

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 28/Mar/07 04:38 PM
Thanks for the patch. Is this file encoded as "8859_1" like the current one?

Sebastian Lenk - 29/Mar/07 03:05 PM
I'm quiet confused.

I did the following steps:
1. I made sure that the ApplicationResources_de are encoded correctly.
2. I created a patch.
3. I opened the patch and saw that the "umlaute" are not displayed correctly any more. By default the encoding was set to Cp1252.
4. I changed the encoding of the patch explicitly to 8859_1. The umlaute were still not displayed correctly.

For creating the patch I used Tortoise.
I use Windows XP and Eclipse.

Do you have any Idea? I attached the ApplicationResources_de.


Matt Raible - 09/Apr/07 11:44 PM
Maybe it's best to use something like EditPad++ to create a file that's properly encoded. Then, attach it to this bug and see if it retains its metadata. If it doesn't, e-mail it to me directly - tell me what to look for - and I can commit it if it comes across the wire correctly.

Sebastian Lenk - 15/Apr/07 03:45 PM
I've downloaded and veryfied the patch with "UltraEdit". After opening the patch the encoding was default to "1252 Latin". Then I switched explicitly to "ISO 8859-1 Latin" the umlaute where still displayed correctly.
So I think the patch should be ok.

Matt Raible - 24/May/07 05:14 PM
Can you verify this is fixed in M5?

Thanks,

Matt

Sebastian Lenk - 28/May/07 07:48 AM
I've verified it. Unfortunately there is another problem:

The "Umlaute" are not correctly displayed by default. The browser (Firefox and IE as well) displays the appfuse pages as UTF-8 encoded. But the ApplicationProperties are encoded as ISO 8859-1. After switching the browser to ISO 8859-1 the "Umlaute" are displayed correctly. But after a new request the browser switches back to UTF-8.

I think we should either provide the ApplicationProperties in UTF-8 or change the charset encoding in the html header to ISO-8859-1.

Matt Raible - 28/May/07 10:39 AM
Sebastian - please open a new issue for the change you describe above. Or you can re-open this issue if you like.

Sebastian Lenk - 28/May/07 05:08 PM
Pls see also APF-778