SAP Knowledge Base Article - Preview

3082544 - Chinese characters cannot be converted in SFTP Sender Channel with errors like "Invalid byte 2 of 3-byte UTC-8 sequence"

Symptom

You configure an SFTP sender communication channel with Message Protocol "File Content Conversion" but it is not able to recognize Chinese characters. When check runtime message payload, you find all Chinese characters converted into question mark "?".
In XPI Inspector traces, you find following errors:

Catching com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_<Message Mapping Name>_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Invalid byte 2 of 2-byte UTF-8 sequence.

When use the runtime payload to test this message mapping in ESR, the same error also occurs.
You also refer to Note 2544233 - Support for non UTF-8 and special characters in SFTP Adapter to configure parameter "encodingFormat = ISO-8859-1" but it's still not working.


Read more...

Environment

  • SAP NetWeaver
  • SAP Process Integration

Product

SAP NetWeaver 7.1 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

SFTP Adapter, Chinese, character, MessageTransformBean, File Content Conversion, FCC, Invalid byte, UTC-8 sequence, Invalid byte 2 of 3-byte UTC-8 sequence, Process Integration, PI, Process Orchestration, PO, NetWeaver, XI, AEX, communication channel , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.