Arlen
Arlen
The client which requires strict protocol specifications, such as VLC and SKYBOX, doesn't support this dlna server.
> On Sat, Aug 7, 2021 at 9:56 PM Arlen-LT ***@***.***> wrote: I pull from commit [d8c85a3](https://github.com/sahlberg/libsmb2/commit/d8c85a3119a0bd769590e448216130b368cd1099) . My code is: smb2_context* smb2 = smb2_init_context(); smb2_set_security_mode(smb2, SMB2_NEGOTIATE_SIGNING_ENABLED); smb2_set_timeout(smb2, 3); int...
Yes, it exactly needs a decode_table to improve its performance, try this to calculate decode_table in compile-time instead of manually. ``` static constexpr std::string_view encode_table = { "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789"...
Just pass option `/utf-8` to `cl.exe`, and use `root.AddMember("content", u8"賊"s, allocator); // before C++20`. See [this](https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-170#remarks). 1. If you are using VS IDE, try [this](https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-170#set-the-option-in-visual-studio-or-programmatically). 2. With CMake, try `add_compile_options($