Charset Parameter (Connect-SAPERP Cmdlet)
The system code page used for Unicode to multibyte translations.
Syntax
Connect-SAPERP -Charset string
Data Type
cstr
Default Value
"UTF-8"
Remarks
SAP returns data in byte arrays, which the cmdlet converts to a string. This property specifies the code page to use to do the conversion. For example, UTF-8. The cmdlet defaults to the machine's code page.
The default can typically be used, but 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 get them to display properly.