Skip to content

Handling unicode paths #19

Open
Open

Description

@robiwano

As far as I can see, it is not possible to use paths on Windows such as C:\Överkörd\Überförare\, maybe paths should be considered UTF-8, then convert to wchar_t* for use with std::ofstream/ifstream.

Activity

  1. lppinto commented on May 25, 2020

    @lppinto

    I don't think UTF-8 has anything to do with wchar_t, you can encode UTF-8 with char*. The usage of wchar_t is not recomended, specially if you want to maintain your code cross compilable (wchar_t may have different meaning for different platforms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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