My Oracle Support Banner

Encoding Greek characters in $attachment variable (Doc ID 3067431.1)

Last updated on JANUARY 16, 2025

Applies to:

Oracle Service Bus - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.2.0 version, OSB Transports

ACTUAL BEHAVIOR
---------------
Seems to be a problem in the name of the attached filename

Trying to send a file that has a couple of Greek characters in its name.

The received filename has the Greek characters replaced with weird characters.
In detail, the filename is Contract με Customers.pdf. The received name in Content-Disposition of the $attachment variable is form-data; name="Contract ¼µ Customers.pdf"; filename="Contract ¼µ Customers.pdf"

The actual transmitted info is
------=_Part_29_751731596.1732188416001
Content-Type: application/pdf; name="Contract [0xbc][0xb5] Customer.pdf"
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="Contract [0xbc][0xb5] Customers.pdf"; filename="Contract [0xbc][0xb5] Customers.pdf"

The 0xbc unicode character is μ and the unicode character 0xb5 is ε

As far as the Proxy Service that receives the attached file, in the Transport Details, we have configured both Request and Response Encoding to be utf-8.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.