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


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

Text::UpsideDown is dead simple in this respect, it just replaces each ASCII character (except for symmetrical ones like H or I) with a corresponding Unicode character that looks like its upside-down version and returns you that string. The question marks are from your terminal. Maybe your font doesn't have the necessary characters? I don't remember how one changes the font in a Windows XP console but it should be possible to set something like Courier New that has good support for the more exotic ISO-10646 characters.

Replies are listed 'Best First'.
Re^6: Upside Down Text Revised
by PilotinControl (Pilgrim) on Mar 09, 2013 at 17:17 UTC

    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

      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?