http://www.perlmonks.org?node_id=1022594


in reply to Re^5: Upside Down Text Revised
in thread Upside Down Text Revised

I set the cmd.exe to Lucida Console and that did not improve anything. should I be editing files in Notepad instead of wordpad? This is perplexing

Replies are listed 'Best First'.
Re^7: Upside Down Text Revised
by Anonymous Monk on Mar 09, 2013 at 23:55 UTC

    should I be editing files in Notepad instead of wordpad?

    Um, that could help, maybe -- wordpad can edit "text" files, but if you save as rtf that won't work -- most programmers don't use wordpad

    Did you add Win32::Console::OutputCP( 65001 );??

    Did you check the bytes your program generates? How does it look in notepad.txt?

    yourprog.pl > thembytes.txt

    notepad thembytes.txt

      I wrote the script using notepad and saved it as UTF-8 and still the same output...any other solutions?

        I wrote the script using notepad and saved it as UTF-8 and still the same output...any other solutions?

        I asked about the output your program generates -- the text it generates

        Either the program is generating the wrong output, or your console/font can't display it, or both

        Figure out which one