R. David Murray added the comment:
I'm closing this in favor of issue 21731, which has a proposed (though I
believe incorrect) patch.
--
resolution: - duplicate
stage: test needed - resolved
status: open - closed
superseder: - Calendar Problem with Windows (XP)
Ned Deily n...@acm.org added the comment:
Your analysis is correct. Sorry, I should have noted that the OS X UTF8 vs
UTF-8 discrepancy has already been discussed in Issue10090 and Issue10154.
--
___
Python tracker rep...@bugs.python.org
MunSic JEONG rus...@gmail.com added the comment:
On OSX, _locale.setlocale raise locale.Error with arg 'UTF8' but ok with
'UTF-8'. and setlocale tries to normalize localename with locale.normalize().
and locale.normalize() always change encoding to 'UTF8' (locale.py:646).
So changes in
MunSic JEONG rus...@gmail.com added the comment:
r38027 has following changes.
-'utf-8':'UTF-8',
+'utf_8':'UTF8',
subversion log is:
Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib
doesn't seem to like
Changes by MunSic JEONG rus...@gmail.com:
--
nosy: +ruseel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10498
___
___
Python-bugs-list mailing
New submission from R. David Murray rdmur...@bitdance.com:
See issue 10466 for background, but in short LocaleHTMLCalendar uses
getdefaultlocale if no locale is specified, and on windows this results in a
locale that setlocale will not accept. The fix is presumably to use
setlocale(LC_DATE,
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +skoczian
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10498
___
___
Python-bugs-list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
See also #10087.
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10498
___
Ned Deily n...@acm.org added the comment:
Fails on OS X as well for similar reasons.
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10498
___