[darcs-devel] [issue149] Don't use locale in date TimeZone in "darcs changes"

Serg bugs at darcs.net
Sun Mar 19 10:05:52 PST 2006


New submission from Serg <r5 at inbox.ru>:

when I do "darcs cha --human-readable" on my WinXP (russian locale), the darcs
make output like this:
----------- begin of include --------------
Sun Mar 19 20:21:53
[_\cc_][_\ee_][_\f1_][_\ea_][_\ee_][_\e2_][_\f1_][_\ea_][_\ee_][_\e5_]
[_\e2_][_\f0_][_\e5_][_\ec_][_\ff_] ([_\e7_][_\e8_][_\ec_][_\e0_]) 2006  
  * example added
----------- end of include --------------
the "[_\??_]" is localized TimeZone ("Moscow time (winter)"). It is unreadable
by human, despite the fact that i am use "human-readable" commad line switch. :)

So, i see two ways to solve this problem: 
1) darcs must not use locale at all.
2) darcs must use locale in all date (WeekDay name and Month name as You see not
localized), and must not encode characters as "[_\??_]".

I think that first way is better, but sometimes i want use locale characters in
commets for patch ... so darcs must not encode characters in any output.

----------
messages: 570
nosy: droundy, rs, tommy
priority: bug
status: unread
title: Don't use locale in date TimeZone in "darcs changes"

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue149>
____________________________________




More information about the darcs-devel mailing list