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

Use String.fromCharCode for the 'x' (times) symbol. #12

Closed
wants to merge 2 commits into from

Conversation

maggiewes
Copy link

  • Using '×' causes character encoding issues in some cases

Fix for #11

- Using '×' causes character encoding issues in some cases
@TrevorBurnham
Copy link
Contributor

Hmm. I'd prefer not to diverge from the upstream project here if at all possible.

Is it possible for you to specify the encoding of the JS source file that includes the symbol? You can do this by adding a charset attribute to the tag, e.g.

<script src="react-select-plus.js" charset="utf-8"></script>

If you can't address the problem on your end, please file a ticket at https://github.com/JedWatson/react-select/issues.

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.

None yet

2 participants