Forum Navigation
Culture/Locale broken on Win XP?
Moderators:
kris
Posted: 08/10/08 11:05:43 Modified: 08/10/08 11:22:31This simple example
module culture; import tango.io.Stdout, tango.text.locale.Core; void main() { Culture culture = new Culture("de-DE"); Stdout.formatln("englishName: {}", culture.englishName); Stdout.formatln("nativeName: {}", culture.nativeName); }compiles with tangobos 0.99.7, but throws "tango.core.Exception.LocaleException?: Culture not found - if this was not tried set by the application, Tango will expect that a locale is set for the system ."
The same goes for
... private import tango.text.locale.Locale; ... void main () { auto layout = new Locale; ... }Both examples used to work with Tango 0.99.6
By the way: MDCL.EXE (2008-04-27) of the current stable minid version throws this exception as well.
System: Tangobos 0.99.7 with dmd 1.033 - Windows XP Pro SP2
Could that be a Tango issue?