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

Unable to use unicode string as variable name #126

Open
arisliang opened this issue Feb 6, 2022 · 2 comments
Open

Unable to use unicode string as variable name #126

arisliang opened this issue Feb 6, 2022 · 2 comments

Comments

@arisliang
Copy link

arisliang commented Feb 6, 2022

I was trying to assign unicode such as chinese characters as variable name. It simply not displaying anything after hit enter. E.g. paste below code to the input and hit enter, the variable part is gone.

你好 = 1

In[1] := = 1

Wolfram Language 13.0.0 Engine for Microsoft Windows (64-bit)

@cc-wr
Copy link
Contributor

cc-wr commented Feb 6, 2022

I am sorry that you are having this issue. Does this problem occur when you use the built-in Wolfram Engine command line?

You might be able to avoid this issue by using Jupyter to interact with the Wolfram Engine, which will not use the Wolfram Engine's built-in command line. This project's README.md contains instructions for adding a Wolfram Language kernel to Jupyter.

I tried interacting with the Wolfram Engine using Jupyter's notebook mode (jupyter notebook) and console mode (jupyter console), and the Unicode variable name seemed to work.

Notebook mode:

notebook-mode

Console mode:

console-mode

@arisliang
Copy link
Author

Yes, it happens to the wolfram command line.

image

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

No branches or pull requests

2 participants