----- Original Message -----
From: "Andrew Dunbar" <[EMAIL PROTECTED]>
To: "Karl Ove Hufthammer" <[EMAIL PROTECTED]>
Sent: Saturday, May 26, 2001 12:45 PM
Subject: Re: Patch: Win32 locale improvements

> Karl Ove Hufthammer wrote:
> >
> > What is 'Non'? There is no language code (ISO or otherwise) with this name.
>
> That's code I've removed which was written by somebody else.  Basically
> Windows before NT returned its own three letter string for language and
> one for country.

Well, Windows 98 (1st edition) returns 'no-NO' for both Nynorsk and Bokm�l.

> > > - // Territory
> > > - if (bNorwaySpecialCase == true) // Special case: Nynorsk in Norway
> > > - LanguageISOTerritory = "NYNORSK"; // As in ap_Win32Prefs.cpp
> >
> > Also, there is no territory (country) named NYNORSK in ISO. The country is
'NO'.
>
> Yes this is removed also.  I now return "no", "nb" and "nr" as per ISO.

I hope you mean 'nn' and not 'nr'. And these are the language part, not the
country part. The complete locale code should be 'nn-NO' and 'nb-NO'.

I see 'ut_Win32Locale.cpp' use 'NON' and 'NOR'. Is this what Windows 2000
returns? The correct ISO 639-2 three-letter language codes for Nynorsk and
Bokm�l is 'nno' and 'nob', respectively. ('nor' could be either Nynorsk or
Bokm�l.) The official standard is available from <URL:
http://lcweb.loc.gov/standards/iso639-2/ >.

-- 
Regards,
Karl Ove Hufthammer


Reply via email to