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

UTF8 symbols in inspector protocol are not properly encoded #1116

Closed
darind opened this issue Jul 18, 2018 · 0 comments
Closed

UTF8 symbols in inspector protocol are not properly encoded #1116

darind opened this issue Jul 18, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@darind
Copy link
Collaborator

darind commented Jul 18, 2018

Please, provide the details below:

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Yes

Tell us about the problem

UTF8 symbols are not properly taken into account when debugging a NativeScript application in Chrome DevTools.

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.1.0
  • Cross-platform modules: 4.1.0
  • Runtime(s): 4.1.3

Did the error happen while the app was being constructed? (buildtime error)

No

Did the error happen while the app was executing? (runtime error)

Yes

Please tell us how to recreate the issue in as much detail as possible.

  1. tns create my-app
  2. cd my-app
  3. tns debug android
  4. Open the url in Chrome DevTools and from the Sources tab select main-view-model.js
  5. Replace this.set("message", getMessage(this.counter)); with this.set("message", "абв");
  6. Save the changes (Ctrl+S)
  7. Hit the Tap button in the application

Expected result: абв is shown
Actual result: some garbage characters are shown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants