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

Cannot print fancier characters with Node.js on Windows in VSCode #726

Open
jiribenes opened this issue Dec 5, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working windows

Comments

@jiribenes
Copy link
Contributor

On the JS backend, on Windows, in the VSCode terminal (Powershell):

println("🚩")

gets printed as ?:
image

However, echo "🚩" in the very same shell just works.


Needs more investigating by someone with an access to a Windows machine to narrow down the problem.

@mattisboeckle
Copy link
Contributor

A few observations:

  • Unicode is only implemented starting with (I think) Powershell 7
  • Running the generated js manually with node prints the correct result
  • When effekt is run through java the output breaks

@marvinborner
Copy link
Member

That are interesting observations!

Does the solution proposed in #734 work for both cases? If yes, we should add it to the documentation (or fix something in the way we call the node process?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants