View Single Post
Old 05-16-2008   #4 (permalink)
Karl Mitschke


 
 

Re: Files created by Powershell are over 2X bigger than files created by text editor or cmd.exe.

Tom;

I have no idea, and i have no idea

Quote:

> That did the trick! Thank you Karl.
>
> I was starting to go down that path (unicode vs. ascii), but hadn't
> nailed it yet.
>
> Can I make ASCII the default output encoding? Is this wise?
>
> Something that threw me off is $OutputEncoding. Why doesn't
> $OutputEncoding show Unicode?
>
> PS C:\> $OutputEncoding
> IsSingleByte : True
> BodyName : us-ascii
> EncodingName : US-ASCII
> HeaderName : us-ascii
> WebName : us-ascii
> WindowsCodePage : 1252
> IsBrowserDisplay : False
> IsBrowserSave : False
> IsMailNewsDisplay : True
> IsMailNewsSave : True
> EncoderFallback : System.Text.EncoderReplacementFallback
> DecoderFallback : System.Text.DecoderReplacementFallback
> IsReadOnly : True
> CodePage : 20127

My System SpecsSystem Spec