Charset Parameter (Connect-SAPERP Cmdlet)
The system code page to use when converting SAP Unicode byte arrays to strings.
Syntax
Connect-SAPERP -Charset string
Data Type
cstr
Default Value
"UTF-8"
Remarks
SAP returns data in byte arrays, which the 本製品 converts to a string.
This property specifies the code page the 本製品 uses to do the conversion. For example, 'UTF-8'.
This property can be useful to fix Unicode-to-multibyte encoding problems. For instance, if you are on a U.S. machine and reading from a Japanese SAP server with Japanese characters, you may need to set Charset to 'shift_jis' to display the characters properly.