Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File-upload to blob fails on setting destination file name in Japanese character in Japanese OS #2636

Open
ykgw-moorthy opened this issue Jul 18, 2024 · 1 comment

Comments

@ykgw-moorthy
Copy link

ykgw-moorthy commented Jul 18, 2024

Desktop, Windows server 2022 Japanese(ja_JP), MSVC compiler)

SDK Version

LTS_07_2022_Ref02

Protocol

HTTP

Describe the Bug

File upload to blob storage is failing on specifying the Japanese string as destinationFileName in IoTHubDeviceClient_LL_UploadMultipleBlocksToBlob API in the Japanese OS.
Same implementation is working fine with normal English characters as destinationFileName.

Error log i have attached. below.

It can be reproduced by specifying the azureStorageBlobPath as any Japanese string in the following sample
(https://github.com/Azure/azure-iot-sdk-c/blob/main/iothub_client/samples/iothub_client_sample_upload_to_blob_mb/iothub_client_sample_upload_to_blob_mb.c).

**Console Logs**

Info: Waiting for TLS connection
Info: Waiting for TLS connection
Info: Waiting for TLS connection
Error: Time:Thu Jul 18 22:06:27 2024 File:D:\CloudCommunicator\MASTER\ydx-edge-cloud-communicator\external\azure\azure-iot-sdk-c\iothub_client\src\iothub_client_ll_uploadtoblob.c Func:send_http_request Line:128 HTTP code was 400
Error: Time:Thu Jul 18 22:06:27 2024 File:D:\CloudCommunicator\MASTER\ydx-edge-cloud-communicator\external\azure\azure-iot-sdk-c\iothub_client\src\iothub_client_ll_uploadtoblob.c Func:IoTHubClient_LL_UploadToBlob_step1and2 Line:374 unable to HTTPAPIEX_ExecuteRequest
Error: Time:Thu Jul 18 22:06:27 2024 File:D:\CloudCommunicator\MASTER\ydx-edge-cloud-communicator\external\azure\azure-iot-sdk-c\iothub_client\src\iothub_client_ll_uploadtoblob.c Func:IoTHubClient_LL_UploadMultipleBlocksToBlob_Impl Line:726 error in IoTHubClient_LL_UploadToBlob_step1

Tasks

No tasks being tracked yet.

Tasks

No tasks being tracked yet.
@ykgw-moorthy
Copy link
Author

please let me know if you expecting any other information regarding this issue. It would be helpful for us if you prioritize this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant