News for hackers. Stuff that matters.
Re:C Strings and my slow descent to madness by ranger_danger on Thursday April 06, 2023 @07:45PM (#35476128)
> By default, Windows PowerShell .lnk shortcut is hardcoded to use the "Consolas" font

Surely this is not the case for Japanese versions of Windows (or users with Japanese set as their display language?)

Re:C Strings and my slow descent to madness by lifthrasiir on Thursday April 06, 2023 @09:00PM (#35476735)
Yes, you can actual look at the full list from `HLKM\Software\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont` (taken from my copy of Windows 10, bracketed comments mine):

    0       Lucida Console
    00      Consolas
    932     *MS ゴシック [MS Gothic for Japanese]
    936     *新宋体 [Simsun for simplified Chinese]
    949     *굴림체 [Gulimche for Korean]
    950     *細明體 [Windows MingLiU for traditional Chinese]
Note that there are actually two global defaults which only are differentiated by leading zeros. This is intentional and can be used to enable additional fonts; it is a common tweak for Korean (and probably other CJK) users to add a preferred font with a name 0949 or 00949 etc.
Re:C Strings and my slow descent to madness by ranger_danger on Thursday April 13, 2023 @01:31AM (#35551371)
Japanese versions use CP932 though, which according to your list would use a font that's not Consolas (MS Gothic in this case).
Re:C Strings and my slow descent to madness by lifthrasiir on Thursday April 13, 2023 @07:36AM (#35553896)
I should have said "no" in place of "yes" (being a non-native speaker, I completely overlooked "not" in your original reply), otherwise I believe I didn't contradict you.