Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326889 - unmappable character for encoding UTF8
Summary: unmappable character for encoding UTF8
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Main (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.9.0 M3   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 03:40 EDT by Nicolas Bros CLA
Modified: 2011-04-28 10:48 EDT (History)
3 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.