Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure_utf8() is available since v2.4.0 #1109

Open
zchrissirhcz opened this issue Jan 1, 2025 · 1 comment
Open

ensure_utf8() is available since v2.4.0 #1109

zchrissirhcz opened this issue Jan 1, 2025 · 1 comment
Labels
docs Add/update documentation

Comments

@zchrissirhcz
Copy link

The README.md gives the first code:

int main(int argc, char** argv) {
    CLI::App app{"App description"};
    argv = app.ensure_utf8(argv);

    std::string filename = "default";
    app.add_option("-f,--file", filename, "A help string");

    CLI11_PARSE(app, argc, argv);
    return 0;
}

And says:

For more information about 🆕ensure_utf8 the section on
Unicode support below. The 🆕ensure_utf8 function is only
available in main currently and not in a release.

But I find that v2.4.0 starts provide this funtion. Maybe the README.md can be revised? Thanks.

@phlptp phlptp added the docs Add/update documentation label Jan 3, 2025
@phlptp
Copy link
Collaborator

phlptp commented Jan 3, 2025

we will be sure to update this when we get the docs finalized for the next release (likely coming soon). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Add/update documentation
Projects
None yet
Development

No branches or pull requests

2 participants