Re: [OT] Using DIR (CMD) with redirection to a file

new topic     » goto parent     » topic index » view thread      » older message » newer message
znorq2 said...

Hi,

Norway uses the same letters as in English alphabet, with the addition to 3 extra letters - ÆØÅ.

When I try to use the DIR (Console, Windows) command with redirection to file output instead of screen, these letters come out garbled. The letters are shown correctly when displayed directly on screen.

Have you tried changing the codepage? Not sure how this might work with redirection. What are the bytes of the file? The file may be correct, but the viewer you're using may be trying a different encoding. Read the file in binary mode, and see if the bytes are what you expected.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu