remove Normalizer from clipboard and PaperCard artist.

This commit is contained in:
Anthony Calosa
2025-08-24 00:42:40 +08:00
parent becdadb279
commit 65fb3414d8
2 changed files with 2 additions and 2 deletions

View File

@@ -250,7 +250,7 @@ public class PaperCard implements Comparable<IPaperCard>, InventoryItemFromSet,
this.artIndex = Math.max(artIndex, IPaperCard.DEFAULT_ART_INDEX); this.artIndex = Math.max(artIndex, IPaperCard.DEFAULT_ART_INDEX);
this.foil = foil; this.foil = foil;
this.rarity = rarity; this.rarity = rarity;
this.artist = TextUtil.normalizeText(artist); this.artist = artist;
this.collectorNumber = (collectorNumber != null && !collectorNumber.isEmpty()) ? collectorNumber : IPaperCard.NO_COLLECTOR_NUMBER; this.collectorNumber = (collectorNumber != null && !collectorNumber.isEmpty()) ? collectorNumber : IPaperCard.NO_COLLECTOR_NUMBER;
// If the user changes the language this will make cards sort by the old language until they restart the game. // If the user changes the language this will make cards sort by the old language until they restart the game.
// This is a good tradeoff // This is a good tradeoff

View File

@@ -571,7 +571,7 @@ public class Main extends AndroidApplication {
if (clipData.getItemCount() > 0) { if (clipData.getItemCount() > 0) {
try { try {
String text = clipData.getItemAt(0).coerceToText(getContext()).toString(); String text = clipData.getItemAt(0).coerceToText(getContext()).toString();
return Normalizer.normalize(text, Normalizer.Form.NFD); return text;//Normalizer.normalize(text, Normalizer.Form.NFD);
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }