L2JMobius

Classic Antharas Cant create character with some unicode char

MrUnzO · 4 · 4822

Offline MrUnzO

  • Heir
  • **
    • Posts: 32
I just try to create character with unicode char and some character can not accept by server such as [อิ] the -ิ is the problem.

Diff patch
Code: [Select]
diff --git a/java/org/l2jmobius/gameserver/util/Util.java b/java/org/l2jmobius/gameserver/util/Util.java
index f1f3991d1c5da060a67a5ed21dc02ddb62abd1af..4f041a0557cdd91e59ef74b036312cdfad96605d 100644
--- a/java/org/l2jmobius/gameserver/util/Util.java
+++ b/java/org/l2jmobius/gameserver/util/Util.java
@@ -340,7 +340,7 @@ public class Util
  }
  for (char c : text.toCharArray())
  {
- if (!Character.isLetterOrDigit(c))
+ if (!Character.isJavaIdentifierPart(c))
  {
  return false;
  }


All chronicle (i think) but i work on Classic 2.2



Online Mobius

  • Distinguished King
  • *****
    • Posts: 16117