KEMBAR78
Work toward u8string across the project to avoid future issues when handling extended characters · Issue #473 · microsoft/winget-cli · GitHub
Skip to content

Work toward u8string across the project to avoid future issues when handling extended characters #473

@yao-msft

Description

@yao-msft

Brief description of your issue

This is a follow up issue filed with unicode fix PR #466
std::string is used across the project to represent strings. In some cases, it'll cause potential bugs when handling extended characters. For example, std::filesystem::path treats std:;string type as narrow case encoding.

Expected behavior

u8string is used across the project for representing strings. Or at least those deal with windows file systems are changed to use u8string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions