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

Update utf8 implementation #144

Merged
merged 2 commits into from
Jun 18, 2014
Merged

Conversation

dduponchel
Copy link
Collaborator

This pull request replaces the utf8 implementation with the one from pako. This fixes #142.

TODO : fix the utf8 implementation to make this test pass :)
@@ -738,7 +738,8 @@ var out = {
* This method will be removed in a future version without replacement.
*/
utf8encode: function (string) {
return utf8.utf8encode(string);
var array = utf8.utf8encode(string);
return utils.transformTo("string", array);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very minor point, but any reason you have the intermediate array here, instead of just nesting the function calls, as above?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason, I'll update the commit.

@Stuk
Copy link
Owner

Stuk commented Jun 17, 2014

💩 Cool!

Stuk added a commit that referenced this pull request Jun 18, 2014
@Stuk Stuk merged commit b02f964 into Stuk:master Jun 18, 2014
@dduponchel dduponchel deleted the utf8_implementation branch June 18, 2014 20: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.

astral character support in chrome and IE
2 participants