假设我已经安装了适当的字形并包含其中的符号,有没有一个Windows XP的命令行可以显示Unicode字符?至少,应该能够正确显示两个事情:
- Directory listings. I don t care what I have to type (dir, ls, get-childitem, etc.), so long as files with Unicode characters in their names appear with the right glyphs, not the unprintable character box.
- Text file content listings. Again, doesn t matter to me if it s less , more , cat , dog , etc., so long as the characters are printed. I recognize that this is more complicated because of character encoding of the file, so if I have to specify that on the command line that s fine with me.
这是我迄今为止尝试过的:
- cmd.exe
- Windows PowerShell; including the multilingual version.
- Cygwin bash
没有运气。我甚至尝试安装适用于cmd / PowerShell的自定义字体。PowerShell和cmd.exe似乎在我可以将非可打印框复制/粘贴到其他应用程序中时支持Unicode,且该框将以正确的字符粘贴。 Cygwin (?)似乎会转换为?字符,然后通过复制/粘贴传递。
有什么想法吗?