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

Chinese/Japanese Input in the Console Doesn't Work #1

Open
MechaDragonX opened this issue Apr 11, 2020 · 0 comments
Open

Chinese/Japanese Input in the Console Doesn't Work #1

MechaDragonX opened this issue Apr 11, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MechaDragonX
Copy link
Owner

I noticed Chinese/Japanese text wasn't working, so enabled UTF8 character encoding and wrote this up to test:

Console.WriteLine("Unicode Test\náéíúóäëïüöñ ° あいうえお アイウエオ 中文 русский\n");
string nihongo = Console.ReadLine();
Console.WriteLine($"これは日本語だよ~!{ nihongo }");

When run and text is inputted, it looks like this:
10/4/2020 Screenshot 1

Based on this test, I can assume these things:

  • Extended Latin characters (accents) work no matter what
  • Symbols work no matter what
  • Cyrillic (alphabet used in Russian and other eastern European languges) works no matter
  • If font that supports it is selected, Chinese and Japanese can be displayed, but when read in as input, it comes in as whatever variant of the special ? character that font uses, and ? in Visual Studio

The results of this test can be seen if I use Majora to open a file that has a path with Chinese/Japanese characters.
File used:
10/4/2020 Screenshot 2
Console Output:
10/4/2020 Screenshot 3
Debug Explorer in Visual Studio:
10/4/2020 Screenshot 4

@MechaDragonX MechaDragonX added the bug Something isn't working label Apr 11, 2020
@MechaDragonX MechaDragonX added this to the Basic Terminal Program milestone Apr 11, 2020
@MechaDragonX MechaDragonX self-assigned this Apr 11, 2020
@MechaDragonX MechaDragonX removed this from the Basic Terminal Program milestone Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant