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

Bug 366502

Summary: Use of java.text.Normalizer breaks java 1.5 compatibility
Product: [Modeling] EEF Reporter: William Piers <william.piers>
Component: GeneralAssignee: EEF Inbox <emft.eef-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: goulwen.lefur
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description William Piers CLA 2011-12-13 04:16:13 EST
org.eclipse.emf.eef.codegen.services.StringUtilService.toASCII(String)

public String toASCII(String input) {
 return Normalizer.normalize(input, Normalizer.Form.NFD).replaceAll(
				"\\p{InCombiningDiacriticalMarks}+", "");
}
Comment 1 Goulwen Le Fur CLA 2013-05-24 04:01:07 EDT
FIXED: we don't use the Normalizer anymore