RE: Entering Plane 1 characters in XP

2002-11-15 Thread John McConnell
There are multiple registry keys that can cause usp10.dll to load. So usp10.dll may be 
loading even though you've deleted the LanguagePack key (not recommended, btw). Also, 
an application can load usp10.dll, independently of what the OS does. I suspect that's 
what you are seeing on Win98.

There is a performance penalty for loading usp10.dll. Some of the core text display 
functions become a tad slower because of the additional processing.

John


-Original Message-
From: Andrew C. West [mailto:andrewcwest@;alumni.princeton.edu] 
Sent: Tuesday, November 12, 2002 6:12 AM
To: [EMAIL PROTECTED]
Cc: John McConnell
Subject: RE: Entering Plane 1 characters in XP

On Tue, 12 Nov 2002 05:46:36 -0800 (PST), "John McConnell" wrote:

> 
>   - in Windows 2000 and Windows XP, you can set a registry value to cause
> Uniscribe to load (Uniscribe is required to display supplementary characters).
> Alternatively, you could install any of the language packs that require
> Uniscribe. The only difference between Windows 2000 and Windows XP in this
> regard is that XP installs Uniscribe for East Asian languages, whereas 2000
> installed it only for complex scripts.

Thanks for the explanation.

I've got all the language packs installed, which probably explains why I don't
need to set the Registry on W2K as specified by Microsoft.

But for my Windows 98 machine all I did was put USP10.dll in the system
directory, and Unicode friendly apps are able to display surrogates (using
Code2001).

Like everyone else I've copied the Registry mantra given by Microsoft in
"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicode_192r.asp";
 into my surrogates page
(http://uk.geocities.com/BabelStone1357/Unicode/surrogates.html), but I can't
say I understand what app uses the
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack]
registry key and when. I deleted this key yesterday on my W2K machine, and
rebooted it, and IE6 is still displaying surrogates OK.

Leaving aside why one earth Microsoft would want to disable surrogates by
default in the first place, can anyone explain what exactly they mean by
"Windows disables surrogate support by default" ? How "disable" ? IE only ?

Andrew 




RE: Entering Plane 1 characters in XP

2002-11-12 Thread Andrew C. West
On Tue, 12 Nov 2002 05:46:36 -0800 (PST), "John McConnell" wrote:

> 
>   - in Windows 2000 and Windows XP, you can set a registry value to cause
> Uniscribe to load (Uniscribe is required to display supplementary characters).
> Alternatively, you could install any of the language packs that require
> Uniscribe. The only difference between Windows 2000 and Windows XP in this
> regard is that XP installs Uniscribe for East Asian languages, whereas 2000
> installed it only for complex scripts.

Thanks for the explanation.

I've got all the language packs installed, which probably explains why I don't
need to set the Registry on W2K as specified by Microsoft.

But for my Windows 98 machine all I did was put USP10.dll in the system
directory, and Unicode friendly apps are able to display surrogates (using
Code2001).

Like everyone else I've copied the Registry mantra given by Microsoft in
"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicode_192r.asp";
 into my surrogates page
(http://uk.geocities.com/BabelStone1357/Unicode/surrogates.html), but I can't
say I understand what app uses the
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack]
registry key and when. I deleted this key yesterday on my W2K machine, and
rebooted it, and IE6 is still displaying surrogates OK.

Leaving aside why one earth Microsoft would want to disable surrogates by
default in the first place, can anyone explain what exactly they mean by
"Windows disables surrogate support by default" ? How "disable" ? IE only ?

Andrew 




RE: Entering Plane 1 characters in XP

2002-11-11 Thread John McConnell
I'll have somebody a bit more familiar with IE registry usage review that part, but 
the rest looks good. Thanks.

John
Global Infrastructure


-Original Message-
From: Tex Texin [mailto:tex@;i18nguy.com] 
Sent: Monday, November 11, 2002 10:41 AM
To: John McConnell
Cc: Andrew C. West; [EMAIL PROTECTED]
Subject: Re: Entering Plane 1 characters in XP

John,
thanks very much for this.

I want to confirm my understanding, and with your permission I'll
include your remarks below on my page for supporting surrogates.

1) The possible explanation then for the difference between Andrew and
myself with respect to the need for a special registry setting, is that
Andrew most likely installed something, perhaps a language pack, that
caused Uniscribe to be loaded on his system. He therefore didn't need
the setting. I probably didn't install anything that used Unsicribe.

2) The first paragraph describes a registry value that forces Uniscribe
to load.
I presume that you are referring to the first of these two entries
recommended by the kbase. The second seems specific to IE. Is that
presumption that this entry causes Uniscribe to be loaded correct?

[HKLM]\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack] 
 SURROGATE=(REG_DWORD)0x0002 

[HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\International\Scripts\42] 
 IEFixedFontName=[Surrogate Font Face Name] 
 IEPropFontName=[Surrogate Font Face Name] 

3) For XP only, we can set a font face name that supports surrogates
into this registry entry. Doing so will make this font the default for
plane 1 characters, if another font is not explicitly designated to be
used:

HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\LanguagePack\SurrogateFallback\Plane1

(and by extension for the other planes).

cool. thanks
tex

John McConnell wrote:
> 
> Concerning display, there are two separate registry settings:
> - in Windows 2000 and Windows XP, you can set a registry value to cause 
>Uniscribe to load (Uniscribe is required to display supplementary characters). 
>Alternatively, you could install any of the language packs that require Uniscribe. 
>The only difference between Windows 2000 and Windows XP in this regard is that XP 
>installs Uniscribe for East Asian languages, whereas 2000 installed it only for 
>complex scripts.
> - Windows XP added a feature to provide font-linking for supplementary 
>characters if Uniscribe is loaded. There are 16 registry values, each of which 
>designates a font for a plane. Although the mechanism exists, none of the registry 
>values are set in Windows XP. Without this registry value set, you must explicitly 
>select the font which contains the glyphs for the supplementary characters. The 
>registry value for Plane 1 is:
> 
>HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\LanguagePack\SurrogateFallback\Plane1
> 
> Windows 2000 and Windows XP will otherwise treat supplementary characters 
>identically e.g. sorting by code point order.
> 
> John
> Global Infrastructure
> 
> -Original Message-
> From: Andrew C. West [mailto:andrewcwest@;alumni.princeton.edu]
> Sent: Monday, November 11, 2002 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Entering Plane 1 characters in XP
> 
> On Mon, 11 Nov 2002 08:55:37 -0800 (PST), Tex Texin wrote:
> 
> >
> > XP requires the registry change as well.
> 
> I think the whole Registry thing is a red herring. I've never had to set the
> registry to see surrogates under Windows 2K or XP. I've even deleted the
> specified registry keys, and surrogates are still shown OK in IE, Notepad, Word
> etc.
> 
> BTW, any application that uses Uniscribe can display surrogates just fine under
> Windows 9x as well as 2K and XP.
> 
> Andrew

-- 
-
Tex Texin   cell: +1 781 789 1898   mailto:Tex@;XenCraft.com
Xen Master  http://www.i18nGuy.com
 
XenCrafthttp://www.XenCraft.com
Making e-Business Work Around the World
-




Re: Entering Plane 1 characters in XP

2002-11-11 Thread Tex Texin
John,
thanks very much for this.

I want to confirm my understanding, and with your permission I'll
include your remarks below on my page for supporting surrogates.

1) The possible explanation then for the difference between Andrew and
myself with respect to the need for a special registry setting, is that
Andrew most likely installed something, perhaps a language pack, that
caused Uniscribe to be loaded on his system. He therefore didn't need
the setting. I probably didn't install anything that used Unsicribe.

2) The first paragraph describes a registry value that forces Uniscribe
to load.
I presume that you are referring to the first of these two entries
recommended by the kbase. The second seems specific to IE. Is that
presumption that this entry causes Uniscribe to be loaded correct?

[HKLM]\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack] 
 SURROGATE=(REG_DWORD)0x0002 

[HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\International\Scripts\42] 
 IEFixedFontName=[Surrogate Font Face Name] 
 IEPropFontName=[Surrogate Font Face Name] 

3) For XP only, we can set a font face name that supports surrogates
into this registry entry. Doing so will make this font the default for
plane 1 characters, if another font is not explicitly designated to be
used:

HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\LanguagePack\SurrogateFallback\Plane1

(and by extension for the other planes).

cool. thanks
tex

John McConnell wrote:
> 
> Concerning display, there are two separate registry settings:
> - in Windows 2000 and Windows XP, you can set a registry value to cause 
>Uniscribe to load (Uniscribe is required to display supplementary characters). 
>Alternatively, you could install any of the language packs that require Uniscribe. 
>The only difference between Windows 2000 and Windows XP in this regard is that XP 
>installs Uniscribe for East Asian languages, whereas 2000 installed it only for 
>complex scripts.
> - Windows XP added a feature to provide font-linking for supplementary 
>characters if Uniscribe is loaded. There are 16 registry values, each of which 
>designates a font for a plane. Although the mechanism exists, none of the registry 
>values are set in Windows XP. Without this registry value set, you must explicitly 
>select the font which contains the glyphs for the supplementary characters. The 
>registry value for Plane 1 is:
> 
>HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\LanguagePack\SurrogateFallback\Plane1
> 
> Windows 2000 and Windows XP will otherwise treat supplementary characters 
>identically e.g. sorting by code point order.
> 
> John
> Global Infrastructure
> 
> -Original Message-
> From: Andrew C. West [mailto:andrewcwest@;alumni.princeton.edu]
> Sent: Monday, November 11, 2002 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Entering Plane 1 characters in XP
> 
> On Mon, 11 Nov 2002 08:55:37 -0800 (PST), Tex Texin wrote:
> 
> >
> > XP requires the registry change as well.
> 
> I think the whole Registry thing is a red herring. I've never had to set the
> registry to see surrogates under Windows 2K or XP. I've even deleted the
> specified registry keys, and surrogates are still shown OK in IE, Notepad, Word
> etc.
> 
> BTW, any application that uses Uniscribe can display surrogates just fine under
> Windows 9x as well as 2K and XP.
> 
> Andrew

-- 
-
Tex Texin   cell: +1 781 789 1898   mailto:Tex@;XenCraft.com
Xen Master  http://www.i18nGuy.com
 
XenCrafthttp://www.XenCraft.com
Making e-Business Work Around the World
-




Re: Entering Plane 1 characters in XP

2002-11-11 Thread Tex Texin
Andrew, it is definitely a requirement for some applications.
However, it would not be surprising if applications overtime have made
themselves independent of the registry entry.

I do know that to view my plane 1 example web page with IE, the registry
needed to be set on both win 2k and win xp.
http://www.i18nguy.com/unicode-example-plane1.html

If I get some time later I'll play with unsetting it and see what
happens now.
tex



"Andrew C. West" wrote:
> 
> On Mon, 11 Nov 2002 08:55:37 -0800 (PST), Tex Texin wrote:
> 
> >
> > XP requires the registry change as well.
> 
> I think the whole Registry thing is a red herring. I've never had to set the
> registry to see surrogates under Windows 2K or XP. I've even deleted the
> specified registry keys, and surrogates are still shown OK in IE, Notepad, Word
> etc.
> 
> BTW, any application that uses Uniscribe can display surrogates just fine under
> Windows 9x as well as 2K and XP.
> 
> Andrew

-- 
-
Tex Texin   cell: +1 781 789 1898   mailto:Tex@;XenCraft.com
Xen Master  http://www.i18nGuy.com
 
XenCrafthttp://www.XenCraft.com
Making e-Business Work Around the World
-




RE: Entering Plane 1 characters in XP

2002-11-11 Thread John McConnell
Concerning display, there are two separate registry settings:
- in Windows 2000 and Windows XP, you can set a registry value to cause 
Uniscribe to load (Uniscribe is required to display supplementary characters). 
Alternatively, you could install any of the language packs that require Uniscribe. The 
only difference between Windows 2000 and Windows XP in this regard is that XP installs 
Uniscribe for East Asian languages, whereas 2000 installed it only for complex scripts.
- Windows XP added a feature to provide font-linking for supplementary 
characters if Uniscribe is loaded. There are 16 registry values, each of which 
designates a font for a plane. Although the mechanism exists, none of the registry 
values are set in Windows XP. Without this registry value set, you must explicitly 
select the font which contains the glyphs for the supplementary characters. The 
registry value for Plane 1 is:
HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\LanguagePack\SurrogateFallback\Plane1

Windows 2000 and Windows XP will otherwise treat supplementary characters identically 
e.g. sorting by code point order.

John
Global Infrastructure


-Original Message-
From: Andrew C. West [mailto:andrewcwest@;alumni.princeton.edu] 
Sent: Monday, November 11, 2002 9:03 AM
To: [EMAIL PROTECTED]
Subject: Re: Entering Plane 1 characters in XP

On Mon, 11 Nov 2002 08:55:37 -0800 (PST), Tex Texin wrote:

> 
> XP requires the registry change as well.

I think the whole Registry thing is a red herring. I've never had to set the
registry to see surrogates under Windows 2K or XP. I've even deleted the
specified registry keys, and surrogates are still shown OK in IE, Notepad, Word
etc.

BTW, any application that uses Uniscribe can display surrogates just fine under
Windows 9x as well as 2K and XP.

Andrew





Re: Entering Plane 1 characters in XP

2002-11-11 Thread Andrew C. West
On Mon, 11 Nov 2002 08:55:37 -0800 (PST), Tex Texin wrote:

> 
> XP requires the registry change as well.

I think the whole Registry thing is a red herring. I've never had to set the
registry to see surrogates under Windows 2K or XP. I've even deleted the
specified registry keys, and surrogates are still shown OK in IE, Notepad, Word
etc.

BTW, any application that uses Uniscribe can display surrogates just fine under
Windows 9x as well as 2K and XP.

Andrew




Re: Entering Plane 1 characters in XP

2002-11-11 Thread Tex Texin
David,

XP requires the registry change as well.
http://www.i18nguy.com/surrogates.html

I haven't played with the alt-n for surrogates so can't help with
that.

tex


"David J. Perry" wrote:
> 
> In Windows 2000 it was necessary to adjust a registry entry to enable
> support for surrogates, which were disabled by default.  What's the
> situation with XP?  I looked on the Microsoft developers web site but it
> seems to be the same information as I saw when I was dealing with
> Win2000 with no updates.  (One of the pages references Unicode 2.0 . .
> .)
> 
> I did some tests and found that I can get characters outside the BMP in
> WordPad under XP and in Word XP by typing the Unicode scalar value
> followed by Alt-x; I don't recall ever changing any registry settings,
> but has been a while since I upgarded from Win2000 to XP.
> 
> So am I correct in saying that, under XP, 1) no need to change registry
> and 2) the Win200 method of typing two surrogates has been replaced by
> typing the single scalar value plus Alt-x?
> 
> Thanks - David

-- 
-
Tex Texin   cell: +1 781 789 1898   mailto:Tex@;XenCraft.com
Xen Master  http://www.i18nGuy.com
 
XenCrafthttp://www.XenCraft.com
Making e-Business Work Around the World
-