|
Re: Encountered end of line while processing a string token > PS C:\> .\psa1.ps1
> Encountered end of line while processing a string token.
> At C:\psa1.ps1:5 char:5
> + @" <<<<
non-ASCII probably... Loaded the file with DOS/edit. I'm still having
problems though:
PS C:\> .\psa1.ps1
Incomplete 'here string' token.
At C:\psa1.ps1:5 char:5
+ @" <<<<
What's the trick to really see the content of a file and be able to pick out
non-ASCII? I tried this while 'grasping at straws':
gc psa1.ps1|out-file -encoding ascii psa2.ps1 |