WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@millanzarreta
Copy link
Contributor

Currently, in some environments, simc may throw an exception during HTML report creation if the locales en_US.UTF-8 and en_US.utf8 do not exist.

This PR makes the global locale setup in the HTML report section more robust by adding a fallback mechanism. It tries several common locale names and falls back to std::locale::classic() (which should never fail) as a last resort.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant