Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, March 26, 2019 2:16 AM
Hi.
This Unicode character 𠮷 is a Chinese character, Unicode code point is 20BB7.
I tried output the character in c# and JavaScript,but it doesn't work.
public static void Main()
{ Console.WriteLine("𠮷");
}
The link below work fine.
https://dotnetfiddle.net/xJ3bFR
My os is Simplified Chinese windows 10.
How Can I resolve this issue ? Thank you.
All replies (6)
Tuesday, March 26, 2019 5:02 AM
What build version of Windows 10 are you using?
They made improvements in 1809: Windows Command-Line: Unicode and UTF-8 Output Text Buffer
Tuesday, March 26, 2019 5:48 AM
Hi EckiS.
Thank you for your reply.
1803.
I will to visit this link you provided. Thank you again.
Tuesday, March 26, 2019 12:57 PM
Hi,
In my 1809 version Windows 10, I can output the character "𠮷 " in PowerShell.
Best regards,
Lee
Just do it.
Wednesday, March 27, 2019 1:51 AM
Hi LeeSeenLi.
Thank you for your reply.
I have created a Hyper-v virtual machine and installed Windows 10 1809.
I tried command Write-Host "𠮷" in PowerShell but I am unable to paste the character to PowerShell.
PowerShell output a "?" when I paste the character .
Wednesday, March 27, 2019 9:53 AM
Hi heywap,
Thanks for your reply.
I suggest you use PowerShell Ise to output "𠮷".
If you want to input Chinese character in PowerShell, you need to change the font to "SimSun-ExtB". But after I test it in PowerShell, "𠮷" also can't output correctly.
Please use PowerShell ISE to output it.
For more information, please refer the link below:
https://stackoverflow.com/questions/49476326/displaying-unicode-in-powershell
Best regards,
Lee
Just do it.
Friday, March 29, 2019 3:18 AM
Hi LeeSeenLi.
感谢你一直以来提供的帮助。
我试了 PowerShell Ise 的确可以在 PowerShell Ise 中粘贴这个中文字符。
我最终的目的还是需要通过编程的方式在Node或是C# Console应用中输出这个字符,但是目前来看这个还是无法解决。
再次感谢。