Asio Extensions
Additional functionality built on top of (Boost.)Asio
|
Various platforms have different ways of representing filenames. On Windows you can either use ANSI or UTF-16 filenames, while on most Unix systems UTF-8 is used.
By default, this library just forwards the filename it receives to the OS APIs.
On Windows this can be changed by defining ASIOEXT_WINDOWS_USE_UTF8_FILENAMES, in which case AsioExt will assume that all const char*
filenames (passed to e.g. open()) are UTF-8 encoded. AsioExt will then convert them to UTF-16 and call the appropriate wide character version of the API instead.