Skip to content

Provide UTF-8 to wchar_t (UTF16/32) conversion methods #812

@MichalPetryka

Description

@MichalPetryka

simdutf currently only uses char16_t or char32_t for UTF16/32 which makes it troublesome when trying to use it with code based on wchar_t cause in such case it either requires unnecessary copying or undefined-behaviour from pointer casting.
As such, simdutf providing APIs that use the appropriate encoding based on wchar_t size would make it faster, safer and easier to handle such code on various platforms and compilers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions