[Quoted Text] > What's going on? Is this some type of encoding issue? I'd be happy > with UTF-8 by default. > > Thanks in advance.
There's a microsoft.public.windows.powershell group that would be more helpful with PowerShell questions.
The out-file cmdlet has an encoding parameter:
PS>help out-file -full .... -Encoding <string> Specifies the type of character encoding used in the file. Valid values are "Unicode", "UTF7", "UTF8", "UTF32", "ASCII", "BigEndianUnicode", "Default", and "OEM". "Unicode" is the default.
"Unicode" is the default.
"Default" uses the encoding of the system's current ANSI code page. ....
Marco
-- *Microsoft MVP - Admin Frameworks https://mvp.support.microsoft.com/profile/Marco.Shaw *PowerShell Co-Community Director - http://www.powershellcommunity.org *Blog - http://marcoshaw.blogspot.com
|