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

Added support for Chinese characters in issuer #88

Merged
merged 2 commits into from
Dec 26, 2021
Merged

Conversation

flytzen
Copy link
Collaborator

@flytzen flytzen commented Dec 26, 2021

Fixes #50

  • Changes the way "Issuer" is encoded to use standard encoding techniques.
  • Adds unit tests to read the QR image and check the encoded Url

This has also been tested manually with Microsoft Authenticator and it is happy with the Chinese characters.
The example web app now uses "我 & you" (me & you afaik) to show this. May be confusing to a westerner? If so, we can revert that bit.

@flytzen flytzen requested a review from ahwm December 26, 2021 20:13
@flytzen flytzen mentioned this pull request Dec 26, 2021
@ahwm ahwm merged commit 3a0a60a into master Dec 26, 2021
@ahwm ahwm deleted the SupportChinese branch December 26, 2021 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HI,class TwoFactorAuthenticator's private method UrlEncode(string value) not Not compatible Chinese
2 participants