std.locale

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Mar 2 07:07:45 PST 2009


Sergey Gromov wrote:
> Mon, 02 Mar 2009 09:34:32 +0200, Georg Wrede wrote:
> 
>>>> Of course, eventually we will want to "do something" about this. But 
>>>> that should be left to the day when real issues are all sorted out in 
>>>> D. This is a non-urgent, low-priority thing.
>> Had there been any need for locales, believe me, the "foreigners" in 
>> this NG would have asked for it.
> 
> Phobos is no better.  Any
> exception resulting from an invalid OS call dumps UTF-8 garbage instead
> of an error message.  std.file.read("non-existent") for instance.

This is serendipitous. I just posted an example involving throwing a 
localized "File not found" exception. Please let me know whether that 
would help.

Andrei



More information about the Digitalmars-d mailing list