[MC-11058] Ä, Ö,Ü don't get recogniced by commandblock in @p[teams=<teamname>] Created: 05/Mar/13  Updated: 29/Dec/17  Resolved: 17/Mar/16

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w10a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a
Fix Version/s: None

Type: Bug
Reporter: Alec Hanschin Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: command_block, scoreboard
Environment:

Windows 7, 64 bit Java, Intel core I3


Issue Links:
Duplicate
duplicates MC-55348 Scoreboard objective/teams/tags don't... Resolved
is duplicated by MC-14760 Scoreboard bug (ü, ä,ö) Resolved
CHK:
Confirmation Status: Confirmed

 Description   

When using the specifier teams=<teamname> the commandblock did not recognice the letter Ä, Ö, Ü...
I hope I was not just being stupid....



 Comments   
Comment by user-f2760 (Inactive) [ 17/Mar/16 ]

Searge added a comment - 11/Jul/14 5:09 PM
If certain characters do not work, don't use them in your objective name.

same goes for teams

Comment by Galaxy_2Alex [ 25/Oct/14 ]

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Bradley Paul Gizzi [ 21/Feb/14 ]

The problem is teams=team name. Not team=teamname

Comment by Markku [ 28/May/13 ]

Fix
Tested on some variant of 1.5. Basically, add the flag 'UNICODE_CHARACTER_CLASS' to the pattern compiling as below:

PlayerSelector
    //private static final Pattern field_82389_a = Pattern.compile("^@([parf])(?:\\[([\\w=,!-]*)\\])?$");
    //private static final Pattern field_82387_b = Pattern.compile("\\G([-!]?\\w*)(?:$|,)");
    //private static final Pattern field_82388_c = Pattern.compile("\\G(\\w+)=([-!]?\\w*)(?:$|,)");
    private static final Pattern field_82389_a = Pattern.compile("^@([parf])(?:\\[([\\w=,!-]*)\\])?$", Pattern.UNICODE_CHARACTER_CLASS);
    private static final Pattern field_82387_b = Pattern.compile("\\G([-!]?\\w*)(?:$|,)", Pattern.UNICODE_CHARACTER_CLASS);
    private static final Pattern field_82388_c = Pattern.compile("\\G(\\w+)=([-!]?\\w*)(?:$|,)", Pattern.UNICODE_CHARACTER_CLASS);
Comment by Markku [ 05/Mar/13 ]

Umm.. ÄÖÜ are alpha-numeric characters Am I missing something?

Comment by Bradley Paul Gizzi [ 05/Mar/13 ]

Could you upload an image please?
P.S. The command block is configured to work with alpha-numeric characters This isn't really a bug.

Generated at Sun Jan 12 12:26:24 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.