- Fix the encoding of files with UTF-8 symbols to make them compile properly and without warnings.

This commit is contained in:
Agetian
2015-05-17 14:22:02 +00:00
parent 44e7a3fec9
commit 3ba9e7cd03
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ public class ImageUtil {
} }
private static String formatName(final String name) { private static String formatName(final String name) {
return StringUtils.replaceChars(name, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "aaaeeeuuuiiiooo"); return StringUtils.replaceChars(name, "áàâéèêúùûíìîóòô", "aaaeeeuuuiiiooo");
} }
public static String getImageKey(final PaperCard cp, final boolean backFace, final boolean includeSet) { public static String getImageKey(final PaperCard cp, final boolean backFace, final boolean includeSet) {

View File

@@ -140,7 +140,7 @@ public final class SResizingUtil {
existingComponents.add(c); existingComponents.add(c);
} }
// This is the core of the pixel-perfect layout. To avoid <EFBFBD>1 px errors on borders // This is the core of the pixel-perfect layout. To avoid ±1 px errors on borders
// from rounding individual panels, the intermediate values (exactly accurate, in %) // from rounding individual panels, the intermediate values (exactly accurate, in %)
// for width and height are rounded based on comparison to other panels in the // for width and height are rounded based on comparison to other panels in the
// layout. This is to avoid errors such as: // layout. This is to avoid errors such as: