Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Upside Down Text Revisted

by PilotinControl (Monk)
on Mar 02, 2013 at 13:59 UTC ( #1021414=perlquestion: print w/replies, xml ) Need Help??
PilotinControl has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks! I have a updated my question and the code is below. Simply put I am trying to use the Upside down Text module and here is my updated code Thanks!

use warnings; use strict; use auto; use Text::UpsideDown; use Win32::Unicode::Console; use Win32::Console; print ("TEST RIGHT SIDE UP\n"); printW upside_down ("TEST UPSIDE DOWN\n"); printW upside_down ("I \x{2665} Perl\n\n"); sleep (10); Output on Screen: TEST RIGHT SIDE UP ?MO? ??I??

How do I rectify this code? Thanks!

Replies are listed 'Best First'.
Re: Upside Down Text
by moritz (Cardinal) on Mar 02, 2013 at 14:18 UTC

    Maybe your terminal window isn't configured to work with UTF-8? Then producing valid UTF-8 won't really help you at all.

    When I remove all the unnecessary modules, your code works fine for me under linux, with a terminal configured to use UTF-8.

Re: Upside Down Text (chcp 65001)
by Anonymous Monk on Mar 02, 2013 at 14:22 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1021414]
Approved by moritz
help
Chatterbox?
[shmem]: Lady_Aleena: see perlsub for AUTOLOAD
[Discipulus]: well AUTOLOAD does auto load (if nothing is found you know what to do)
Lady_Aleena goes to read, may take a bit.
[Lady_Aleena]: Um, okay...
[karlgoethebier]: Lady_Aleena see also the source code of Shell

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-06-26 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (574 votes). Check out past polls.