Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341703

Summary: Wrong encoding determined from content
Product: [Eclipse Project] Platform Reporter: Simão <simao>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Simão CLA 2011-04-02 14:37:51 EDT
Build Identifier: 20110301-1815

JSF fragments and text files created in eclipse windows plataform (default encoding is iso-8859-1) are determined as utf-8 files in eclipse linux plataform =(

Reproducible: Always

Steps to Reproduce:
1. Create a JSF fragment in windows (default encoding is iso-8859-1)
2. Copy projet to linux
3. Open fragment in linux (determine utf-8 enconding)
Comment 1 Dani Megert CLA 2011-04-04 04:21:31 EDT
Some file types have a default encoding (e.g. 'UTF-8' for XML files) but most don't. In those cases the platform default is used. If you use the same files on different platforms then you should set the default encoding on the project so that the encoding is also shared via repository.