Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread timothy adigun
Hi, > > > use warnings; > > use strict; > > use utf8; > > > > `chcp 65001`; # Oops > Ofcourse, one can argue that there is nothing wrong with that. But I think is not "RIGHT" to just discard the output return by the backtick in a void context. In that light I concur with Charles DeRykus, tha

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread Charles DeRykus
On Sat, Dec 1, 2012 at 10:06 PM, boB Stepp wrote: > On Sat, Dec 1, 2012 at 11:58 PM, Charles DeRykus wrote: >> On Sat, Dec 1, 2012 at 8:50 PM, boB Stepp wrote: >>> >>> What I would like to do is make chcp 65001 the default behavior of the >>> command console without having to either retype it ma

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread Charles DeRykus
On Sat, Dec 1, 2012 at 9:58 PM, Charles DeRykus wrote: > ... > > On the command line, I believe you just redirecto to nul: > > chch 2>nul ^^^ chcp -- Charles DeRykus -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additiona

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread boB Stepp
On Sat, Dec 1, 2012 at 11:58 PM, Charles DeRykus wrote: > On Sat, Dec 1, 2012 at 8:50 PM, boB Stepp wrote: >> >> What I would like to do is make chcp 65001 the default behavior of the >> command console without having to either retype it manually or place >> it in each and every script for each t

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread Charles DeRykus
On Sat, Dec 1, 2012 at 8:50 PM, boB Stepp wrote: > Hey Tim, > > On Sat, Dec 1, 2012 at 10:34 PM, timothy adigun <2teezp...@gmail.com> wrote: >> Hi bOB, >> Please check my comments below >> > >> It is very possible, just in 3 steps. >> >> Here is what you had always wanted to do: >> 1. Open up y

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread boB Stepp
Hey Tim, On Sat, Dec 1, 2012 at 10:34 PM, timothy adigun <2teezp...@gmail.com> wrote: > Hi bOB, > Please check my comments below > > It is very possible, just in 3 steps. > > Here is what you had always wanted to do: > 1. Open up your command Prompt, then > > 2. You will need to change your

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread timothy adigun
Hi bOB, Please check my comments below On Sun, Dec 2, 2012 at 4:29 AM, boB Stepp wrote: > On Thu, Nov 29, 2012 at 8:08 AM, Charles DeRykus > wrote: > > > > >>even when warnings is turned OFF, you will get the unwanted warning > >> > > > > Just a guess because I don't know what chcp is all a

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread boB Stepp
On Thu, Nov 29, 2012 at 8:08 AM, Charles DeRykus wrote: > >>even when warnings is turned OFF, you will get the unwanted warning >> > > Just a guess because I don't know what chcp is all about... > but it might be informational rather than an actual warning. > I think that you are correct ab

Re: How to display UTF-8 output to command shell in Win7?

2012-12-01 Thread boB Stepp
On Thu, Nov 29, 2012 at 7:00 AM, timothy adigun <2teezp...@gmail.com> wrote: > Hi, > Please check my comments below: > > >> > system "chcp 65001"; > > > binmode STDOUT,':encoding(UTF-8)';## add this This suppresses the wide character warning. Thanks. boB -- To unsubscribe, e-mail: beginners