in reply to Re: Unicode at Windows' cmd.exe
in thread Unicode at Windows' cmd.exe

I think the dosbox uses cp8xx encodings not 12xx ones. That's an annoying problem for all non-latin1 AFAIK :p Dumb dos... And the code sample you gave does not seem to work for my locale (tr). All I get is this warning instead:
Cannot figure out an encoding to use

Replies are listed 'Best First'.
Re^3: Unicode at Windows' cmd.exe
by massa (Hermit) on Jul 15, 2008 at 00:18 UTC
    Heh, your OS is not passing the correct locale. You can switch :locale in the use open to:
    use open ':std', ':encoding(iso-8859-9)';
    (for example, if the encoding you use is that, ':encoding(cp857)' if not)...
    []s, HTH, Massa
      Yes :encoding(cp857) seems to work :) Thanks