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

Fixes #263; makes JavaScript's character counting the same as Ruby's #655

Merged

Conversation

Projects
None yet
2 participants
@marrus-sh
Copy link
Contributor

marrus-sh commented Feb 27, 2017

This fixes #263 by replacing UTF-16 surrogate pairs with a single placeholder _ before evaluating the character count.

@Gargron Gargron merged commit 5a7590d into tootsuite:master Feb 27, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@marrus-sh marrus-sh deleted the marrus-sh:mastodon-frontend-character-count branch Mar 1, 2017

Nyoho pushed a commit to Nyoho/mastodon that referenced this pull request Apr 25, 2017

Merge pull request tootsuite#655 from marrus-sh/mastodon-frontend-cha…
…racter-count

Fixes tootsuite#263; makes JavaScript's character counting the same as Ruby's

abcang added a commit to pixiv/mastodon that referenced this pull request Nov 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.