| Summary: | Override encoding from resources with encoding from xml file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Krzysztof Kazmierczyk <kazm> | ||||
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> | ||||
| Status: | RESOLVED INVALID | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | kazm, sptaszkiewicz, Szymon.Brandys | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
(In reply to comment #0) > Steps to reproduce: > 1. Copy attached file into workspace > 2. Set encoding as UTF-8 of that file > 3. Open given file in Eclipse. It opens file in UTF-8 instead of in ISO given > in header. If you set the encoding manually, it will override the one automatically computed using a content describer. This is intended behavior. Invalid. |
Created attachment 180481 [details] demo.xml XML files contains header which specifies file encoding: <?xml version="1.0" encoding="ISO-8859-1"?> But indeed displaying of this file depends only from resources. Steps to reproduce: 1. Copy attached file into workspace 2. Set encoding as UTF-8 of that file 3. Open given file in Eclipse. It opens file in UTF-8 instead of in ISO given in header.