unicode: add more constants for Windows codepages

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2023-08-17 12:57:50 +02:00
parent 057174bef9
commit d7950abe42

View File

@ -8,15 +8,19 @@
#include "sal.hpp"
#include "system.hpp"
#include <assert.h>
#include <stdint.h>
#include <memory>
#include <string>
namespace stdex
{
enum class charset_id {
default = 0,
enum class charset_id : uint16_t {
#ifdef _WIN32
default = CP_ACP,
utf8 = CP_UTF8,
utf16 = 1200 /*CP_WINUNICODE*/,
#else
default = 0,
#endif
};