You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the following change I get parser.getKeyAndValue to pass also on a system which has no
en_US.UTF8 locale:
sed -i -e 's/std::locale("en_US.UTF8")/std::locale("C")/g' ${S}/test/credsCommons/parser/Parser.cpp
As far as I can see at a glance, the test does not really depend on the en_US.UTF-8 locale (strings all plain ASCII?!), so this shouldn't change anything.
The text was updated successfully, but these errors were encountered:
Yes, you are right - these are just ASCII strings. Creating UTF-8 locale object is an overkill.
However, I suggest to use std::locale::classic() function instead of std::locale("C").
I've tried std::locale::classic() and that also works. I suggest that you just go ahead and commit a change created with sed. There's not much value in preparing a full patch.
With the following change I get parser.getKeyAndValue to pass also on a system which has no
en_US.UTF8 locale:
sed -i -e 's/std::locale("en_US.UTF8")/std::locale("C")/g' ${S}/test/credsCommons/parser/Parser.cpp
As far as I can see at a glance, the test does not really depend on the en_US.UTF-8 locale (strings all plain ASCII?!), so this shouldn't change anything.
The text was updated successfully, but these errors were encountered: