brunano21 / workspacemechanic

Automatically exported from code.google.com/p/workspacemechanic
0 stars 0 forks source link

Fix encoding of preferences tasks #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have written preference files on Linux with UTF-8 encoding. Now I tried to 
use them with an Eclipse installed on Windows. There are some french chars in 
title and description and they are incorrectly displayed by WM plugin.
I think WM is loading the files using default platform encoding and it makes it 
impossible to have portable non ascii files.

Could you please force encoding to UTF-8 or provide a way to tell encoding of 
the preference files (like an XML header).

Thanks

Original issue reported on code.google.com by glaurung...@gmail.com on 25 Aug 2011 at 1:18

GoogleCodeExporter commented 9 years ago
Sounds reasonable enough. I'm just making sure this doesn't break anything at 
Google (given my presumption at the moment that it's the largest install base.)

Original comment by konigsb...@gmail.com on 25 Aug 2011 at 10:51

GoogleCodeExporter commented 9 years ago
Are you sure it's not just reading and writing with the ISO 8859-1 encoding? 
Scanning the code, I think that's what's going on.

Original comment by konigsb...@gmail.com on 10 Sep 2011 at 3:59

GoogleCodeExporter commented 9 years ago
If true this is not a good choice for non European people. But I'm nearly sure 
I had a different behavior between Windows and Linux. I'll recheck as soon as 
possible.

Original comment by glaurung...@gmail.com on 10 Sep 2011 at 9:36

GoogleCodeExporter commented 9 years ago
Just checking in. Have you taken a look in to this?

Original comment by konigsb...@gmail.com on 7 Oct 2011 at 10:40

GoogleCodeExporter commented 9 years ago
I have just checked again: the same epf file produce different results in 
Windows and Linux concerning display of non ascii chars in WM UI. So there is 
definitly an issue here.

Original comment by glaurung...@gmail.com on 7 Oct 2011 at 11:44

GoogleCodeExporter commented 9 years ago
Can you share such a file?

Original comment by konigsb...@gmail.com on 9 Oct 2011 at 6:30

GoogleCodeExporter commented 9 years ago
Here it is. When I put this file in c:\Doc & settings\myuser\.eclipse\mechanic 
on Windows it is fine but on Linux it is bad. On Linux I have this message in 
WM UI:

Workspace Mechanic
Changes suggested for your Eclipse installation:
MYCOMPANY-3.0.6
R?glages par d?faut de my company

but last sentence should be:

Réglages par défaut de my company

Original comment by glaurung...@gmail.com on 10 Oct 2011 at 7:33

Attachments: