use a char32_t character as a main character when converting strings
Use a char32_t instead of a wchar_t type. This is needed on systems where sizeof(wchar_t) is equal to 2.
This commit is contained in:
@@ -58,7 +58,7 @@ private:
|
||||
void before_field_value_string(const FT & field_type, ModelEnv * model_env) override;
|
||||
void after_field_value_string(const FT & field_type, ModelEnv * model_env) override;
|
||||
|
||||
bool esc_char(wchar_t val, pt::Stream & stream, const FT & field_type, ModelEnv * model_env) override;
|
||||
bool esc_char(char32_t val, pt::Stream & stream, const FT & field_type, ModelEnv * model_env) override;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user