|
|
@ -57,14 +57,14 @@ public class UnknownCharsetProvider extends CharsetProvider {
|
|
|
|
|
|
|
|
|
|
|
|
name = name.replace("\"", "");
|
|
|
|
name = name.replace("\"", "");
|
|
|
|
|
|
|
|
|
|
|
|
// WİNDOWS-1254
|
|
|
|
|
|
|
|
name = Normalizer.normalize(name, Normalizer.Form.NFKD)
|
|
|
|
|
|
|
|
.replaceAll("[^\\p{ASCII}]", "");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int sp = name.indexOf(" ");
|
|
|
|
int sp = name.indexOf(" ");
|
|
|
|
if (sp > 0)
|
|
|
|
if (sp > 0)
|
|
|
|
name = name.substring(0, sp);
|
|
|
|
name = name.substring(0, sp);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// WİNDOWS-1254
|
|
|
|
|
|
|
|
name = Normalizer.normalize(name, Normalizer.Form.NFKD)
|
|
|
|
|
|
|
|
.replaceAll("[^\\p{ASCII}]", "");
|
|
|
|
|
|
|
|
|
|
|
|
name = name.trim().toUpperCase();
|
|
|
|
name = name.trim().toUpperCase();
|
|
|
|
|
|
|
|
|
|
|
|
if (name.contains("UTF8") || name.contains("UTF-8")) // //TRANSLIT
|
|
|
|
if (name.contains("UTF8") || name.contains("UTF-8")) // //TRANSLIT
|
|
|
|