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

Bug 326889

Summary: unmappable character for encoding UTF8
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: MainAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: fabien.giquel, hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nicolas Bros CLA 2010-10-04 03:40:35 EDT
The MoDisco build logs have a lot of these warnings:
"unmappable character for encoding UTF8"

This is due to files being saved with the default encoding, being Cp1252 on Windows. On the Linux build servers, this encoding is unknown.

All MoDisco projects should be set up to use UTF8 instead.
Comment 1 Fabien Giquel CLA 2010-10-04 04:11:28 EDT
Just to complete the description to avoid confusion with another bug : the warnings are about .java files (some characters in author name). It does not deal with the xmi endoding format which we have set back in MoDisco from "UTF-8" to default "ASCII" (bug 321369) including existing models xmi tests files.

Fabien.
Comment 2 Nicolas Bros CLA 2010-10-04 11:08:51 EDT
Fixed in revision 3283 : I set the encoding for all MoDisco projects to UTF8, and fixed characters (names with accents, etc.).
I also translated french comments I found into english.
Comment 3 Hugo Bruneliere CLA 2010-10-05 05:17:25 EDT
Bug fixed.
Comment 4 Fabien Giquel CLA 2010-10-07 08:35:43 EDT
I complete this bug with a related update of /org.eclipse.gmt.modisco.java.discoverer.tests/references/test001.kdm which includes Java code, to fix a related Junit regression.

Fabien.