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

Workaround for Chrome toLowerCase issue #88

Merged
merged 3 commits into from
Nov 20, 2015
Merged

Conversation

nfrasser
Copy link
Owner

The toLowerCase method appears to be modifying the string content in certain non-English text, including Turkish. This fix lowercases only A-Z characters, which is okay because lowercasing is really only required to detect domain names and TLDs.

Fixes #87

Does not modify the length of certain localized strings, which
appears to be the case with the previous strategy on V8-based
runtimes

Fixes #87
@nfrasser nfrasser self-assigned this Nov 20, 2015
nfrasser added a commit that referenced this pull request Nov 20, 2015
Workaround for Chrome `toLowerCase` issue
@nfrasser nfrasser merged commit c5122b2 into master Nov 20, 2015
@nfrasser nfrasser deleted the M-Localization-Fix branch November 20, 2015 19:22
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.

Buggy output on Chrome Browser only
1 participant