79698256

Date: 2025-07-11 11:31:01
Score: 1
Natty:
Report link

Came across this 12 years later looking for the same issue. The answer is SQLPlus can't properly handle the encoding of your input and/or output of your PowerShell terminal. Run the following before issuing your sqlplus command. This will set your text encoding to ASCII which SQLPlus can handle.

[Console]::InputEncoding = [System.Text.Encoding]::ASCII
[Console]::OutputEncoding = [System.Text.Encoding]::ASCII
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nick K