We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TIme::Piece->strftime() does not return UTF-8 data, unlike POSIX::strftime(). I think it should behave the same way.
Proof of concept code, run with LC_TIME=cs_CZ.UTF-8, ja_JP.UTF-8 or any other locale which uses non-ascii leters in month names:
strftime.pl.txt
This is probably related to https://rt.cpan.org/Public/Bug/Display.html?id=97539
The text was updated successfully, but these errors were encountered:
I doubt this can be changed since it would break applications that depend on the current behaviour.
It probably just needs to be documented: whereas POSIX::strftime() returns characters, this module’s strftime() returns bytes.
Sorry, something went wrong.
Notably, both seem to behave the same in a non-UTF-8 locale (e.g., ru_RU.koi8r).
ru_RU.koi8r
No branches or pull requests
TIme::Piece->strftime() does not return UTF-8 data, unlike POSIX::strftime(). I think it should behave the same way.
Proof of concept code, run with LC_TIME=cs_CZ.UTF-8, ja_JP.UTF-8 or any other locale which uses non-ascii leters in month names:
strftime.pl.txt
This is probably related to
https://rt.cpan.org/Public/Bug/Display.html?id=97539
The text was updated successfully, but these errors were encountered: