Sets the locale for the library.
#include "l_bitmap.h"
L_LTKRN_API L_WCHAR * L_SetlocaleW(category, locale)
Category affected by the locale.
Locale name. Pass NULL to return the current locale.
Value | Meaning |
---|---|
!NULL | A pointer to the string representing the specified locale and category |
NULL | Indicates that the category or locale parameter value was invalid |
This function is used under rare circumstances. It is necessary only when running non-UNICODE applications that must deal with text (for example, filename strings) that is not part of the ASCII character set (for example, Japanese characters). Non-ASCII text (i.e. a Japanese or Arabic character) can be stored non-ambiguously in UNICODE. However, for non-UNICODE applications, the multi-byte representation of such characters depends on the code page. In this case, you must set the code page appropriately. For example, a non-UNICODE application can display Japanese characters only if the code page is set to a Japanese code page (like Japanese_Japan.932).
Pass NULL for the parameter locale to get the current locale, leaving the current locale unchanged.
Internally, this function calls the Microsoft C runtime function, setlocale. For details, see the MSDN documentation.
Win32, x64, Linux.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document