Read entire file: Difference between revisions

Content deleted Content added
some omits
added PowerShell
Line 12:
 
The file is assumed to be in the default encoding.
 
=={{header|PowerShell}}==
<lang powershell>Get-Content foo.txt</lang>
With explicit selection of encoding:
<lang powershell>Get-Content foo.txt -Encoding UTF8</lang>
 
=={{header|Python}}==