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
Fix strftime on windows. #49499
Comments
On windows, format string should be encoded as mbcs. Otherwise, result |
I think we should use wcsftime on Windows, even though it works very |
I experimentally implemented with wcsftime, but I couldn't get same |
Sorry, if we use wcsftime, I cannot create the patch. On VC6, wcsftime Maybe on snakebite.org, I can access VC9 and confirm its behavior on it? ;-) |
Right.
No. I'm concerned primarily about code cleanliness, by relying on OTOH, the conversion to narrow strings still needs to happen on Unix |
Locale is my weak point. :-( |
Using TZNAME_ENCODING is fine; I just think it has an incorrect value on All in all, I think the (original) patch is fine, please apply. |
Thanks, fixed in r69664(py3k) and r69665(release30-maint). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: