Multi encoding problem [message #878248] |
Mon, 28 May 2012 19:05  |
Eclipse User |
|
|
|
Hello!
This is my scenario:
- Configuration: Indigo SR1, Windows, n projects with no relation between them, one workspace. Workspace encoding configuration: all default (cp1252)
- Project 1: configured to use UTF-8 (I need all resources to be UTF-8)
- Project 2: configured to use ISO-8859-1 (I need all resources to be ISO-8859-1)
- What is going on: the resources on project 2 (ISO-8859-1) that should use ISO-8859-1, like html or xml, is actually using UTF-8 because the XML/HTML files configuration says it should use UTF-8 and ignore the project specific configuration. Even if the file have <?xml version="1.0" encoding="ISO-8859-1"?>.
Anybody knows if that is a new feature in Indigo and I should be doing something diferent or if that is a bug?
Sorry about the poor english.
Thanks,
Diogo Sant'Ana
|
|
|
|
|
Re: Multi encoding problem [message #879627 is a reply to message #879165] |
Thu, 31 May 2012 10:36  |
Eclipse User |
|
|
|
On 30.05.2012 18:35, Diogo Santana wrote:
> Dani,
>
> Thanks for the reply. I was afraid someone would say that.
> I guess I will have to work with more then one workspace, one for
> ISO-8859-1 and another for UTF-8.
>
> But I have one more question: you said "this works as expected", I ask
> why? Why it gotta be like that? To me makes more sense to use the
> project configuration.
Because for those files, the specification explicitly defines the
encoding (e.g. ISO-8859-1 for Java properties files).
Dani
>
> Thanks again.
>
> Diogo Sant'Ana
>
|
|
|
Powered by
FUDForum. Page generated in 0.04490 seconds