Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode is not supported in ResourceGroupOperations #1250

Closed
xizhousheng opened this issue Oct 27, 2016 · 5 comments
Closed

unicode is not supported in ResourceGroupOperations #1250

xizhousheng opened this issue Oct 27, 2016 · 5 comments
Assignees
Labels
ARM - Core Mgmt This issue is related to a management-plane library.

Comments

@xizhousheng
Copy link

ResourceGroupOperationsImpl

if (Pattern.matches("^[-\w._]+$", resourceGroupName) == false) {
throw new IllegalArgumentException("resourceGroupName");
}

'w' indicates only ascii codes and you may have to involve the code pages of non-ascii in regex if you'd like to search them.

The code example involves the most of Unicode characters:
boolean valid = Pattern.matches("^[\u0080-\u9FFF_\uFB00-\uFFFDh\w._]+$", "表ポあA中Œé鷗停B逍Üßàùªñ");

@jianghaolu
Copy link
Contributor

👍 Thanks for the feedback.
I didn't even know unicode characters are allowed!

@xizhousheng
Copy link
Author

ppl working with resource group name in East-Asia and West-Euro sometimes:)

@jianghaolu jianghaolu self-assigned this Oct 27, 2016
@martinsawicki martinsawicki added this to the Backlog milestone Oct 9, 2017
@praries880 praries880 added the Mgmt This issue is related to a management-plane library. label Nov 14, 2018
@praries880
Copy link
Contributor

@jianghaolu is this issue still relevant?

sima-zhu pushed a commit to sima-zhu/azure-sdk-for-java that referenced this issue Mar 21, 2019
* Update project.json

* Update AssemblyInfo.cs

* Update project.json

* Update project.json

* upgraded to ADAL 2.27 (Azure#1222)

* Fixed ClientRuntime.sln
@joshfree joshfree removed this from the Sprint : 1/28/2019 - 2/15/2019 milestone Oct 2, 2019
@yaohaizh
Copy link
Contributor

@ChenTanyi could you help take a look to see whether this issue is still existing?

@ChenTanyi
Copy link
Contributor

I did not find ResourceGroupOperations, maybe it had been changed.
And I test it successful to create a resource group with UTF-8 characters.
I think it has been fixed.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARM - Core Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

7 participants