Open yxiang92128 opened 5 years ago
Usually the sdk should work with emojis if you set locale to UTF-8.
I just wrote a piece of code to test on Linux,
utility::string_t blob_name = "testπ.txt";
azure::storage::cloud_block_blob blob = blob_container.get_block_blob_reference(blob_name);
and this is what it looks like on Portal,
Can you provide your environment details so that I can reproduce the issue?
We're going to close this issue because of inactivity, feel free to reopen it if you have any further questions.
object name is defined as utility::string_t on a Linux system, cpprest/details/basic_types.h defines utility::string_t as // // On POSIX platforms, all strings are narrow // typedef char char_t; typedef std::string string_t;
We are testing downloading some object with object name in Kanji character and Emojis and it reports errors as " The object <ππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππππ> in bucket <max not be downloaded failed with http code=<404>
Can you please confirm if it works for wide character objname through the sdk? And if so, what do I need to do in order to get this call to work properly:
thanks,
Yang