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

[WIP] Fix source mapping where utf8 char length != byte length #252

Merged
merged 2 commits into from
May 21, 2019

Conversation

Xenomega
Copy link
Member

This PR aims to resolve #251 . Source mapping was previously calculating based off of character/string length, as opposed to byte length. Source code is now encoded in utf-8 format prior to any length calculations.

@Xenomega Xenomega changed the title Fix source mapping where utf8 char length != byte length [WIP] Fix source mapping where utf8 char length != byte length May 20, 2019
@yxliang01
Copy link
Contributor

Nice! Happy to see this being merged soon! :) This partially blocks our progress.

@montyly montyly changed the base branch from master to dev May 21, 2019 17:47
@montyly montyly merged commit 4fe2eb1 into dev May 21, 2019
@montyly montyly deleted the dev-fix-utf8lines branch June 3, 2019 12:55
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.

3 participants