Giter VIP home page Giter VIP logo

Comments (3)

Flamefire avatar Flamefire commented on July 26, 2024 1

Hi @mattjgalloway . I'm currently working on getting your PR fixing this into the next release (no worries about the conflicts, I'll resolve those)

I was wondering whether you had any expectation on how en_US_POSIX is handled?
As far as I've understood this is basically the "C" locale in C++, aka "POSIX". So I think it makes sense to treat it as an alias so the output would be:

LOCALE NAME: C
LOCALE LANG:
LOCALE COUNTRY:
LOCALE ENCODING:
LOCALE UTF8: 0

You could run into this on Linux or when using boost::locale::generator("en_US_POSIX") as the WinAPI will not return that as the "system locale".

from locale.

mattjgalloway avatar mattjgalloway commented on July 26, 2024

@Flamefire Thanks for coming back on this!

Yes I think that would be right for en_US_POSIX.

from locale.

mattjgalloway avatar mattjgalloway commented on July 26, 2024

Thanks @Flamefire for getting this merged!

from locale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.