Enabling Dzongkha support on Windows XP: Uniscribe

part 2 Updating Uniscribe

What is Uniscribe?

Uniscribe is the Microsoft Windows set of services for rendering Unicode -encoded text for complex scripts. It is an OpenType shaping engine implemeted in the dynamic link library USP10.DLL. Although USP10.DLL first became available to the public with Windows 2000, Windows XP and Internet Explorer 5.0 these early versions of Uniscribe including had no support for the script used to write Dzongkha. Microsoft began adding support for Dzongkha & Tibetan script with help from the DDC''s Dzongkha Computing Project in 2001. The first generally available version of Uniscribe which included Dzongkha and Tibetan script support was the one included in MS Office 2003 SP2.

Obtaing a version of Uniscribe with Dzongkha support

Since the versions of Uniscribe (USP10.DLL) which come with Windows XP and Windows 200 have no support for Dzongkha. It must be updated with a version which has this support.

Microsoft Office 2003 SP2, (which includes Word 2003, Excel 2003, and other applications), comes with a version of Uniscribe (USP10.DLL) with support for rendering the script used to write Dzongkha. So, if you have Office 2003 SP2 (or Office 2007) installed, then you already have the needed file on your computer and can jump to the next section which shows you how to make this available to other applications on your system.

Otherwise, to obtain an updated version of Uniscribe you will first need to either:

Microsoft's Windows Vista operating system also comes with a new version of Uniscribe (USP10.DLL)which supports rendering Dzongkha text.

Unfortunately Microsoft do not permit third parties to distribute any of these updated versions of USP10.DLL.

The Install USP10 utility

The USP10.DLL which comes with Microsoft Office 2003/2007,and Microsoft Word Viewer is installed in a private directory and is not available to other applications. In order to make Dzongkha & Tibetan script support it contains available to other applications, including your web browser, the original USP10.DLL in your \Windows\System32\ folder needs to be replaced with this updated version.

This is not as easy as copying the updated file to that location. Since it is a system file Windows XP security features do not allow you to directlythis newer version of USP10.DLL to the \Windows\System32\ folder.

The easiest way to update this file is to download and run the free Install USP10 Only Utility . This small utility updates the system version of Uniscribe with the newer version making it available to all Windows applications.

Depending on what browser you use to download, you will see a screen resembling something like this:

Running the Install USP10

Figure 2: The uncompressed file

Double-click on the file name “InstallUsp10Only.exe” to run the utility..

Figure 3: Where the utility expects to find the updated Uniscribe from Office 2003

The utility asks you where to find the newer version of Uniscribe which was included in Office 2003 or Word Viewer when you installed it. Most systems will have the Uniscribe file (usp10.dll) in the default location predicted by small utility - if so press Update. If for some reason you want to specify a different folder location yourself, then press Browse.

Figure 4: Searching for and opening an appropriate Uniscribe file

If you pressed Browse then you can directly select the folder which contains the file named USP10.DLL This is the proper file name of Uniscribe. If USP.DLL shows up in the upper right corner of the dialog box, you have located Uniscribe and can press Open.

Figure 5: Choosing to update the computer

Click Update and the computer reports that Uniscribe (usp10.dll) is now updated:

Figure 6: Notice of successful update

Press OK.

Figure 7: Cancelling the option to revert to previous Uniscribe

If you have Windows XP Service Pack 2 installed, the computer will give you a warning saying a system file has been replaced by an unrecognized version and tells you that you need to insert the original Windows install CD to restore the original version.

This is because Windows thinks that a system file has been changed without your knowledge. But since the newer Uniscribe that you just installed is a Microsoft product and more up to date than the one included with Windows XP, don't insert your Windows CD, press Cancel instead. (If you do insert your Windows CD the old version will be copied from it to your Windows directory undoing your update and your computer will not display Unicode Tibetan correctly.)

Windows systems with SP2 will also warn you that replacing system files could cause your system to be unstable:

Figure 8: Telling Windows to keep the newer Uniscribe

Ignore this warning and press Yes to to keep the newer version of Microsoft Uniscribe.

If for some reason you cannot update the USP10.DLL file using this utility, it is also possible to manually copy an updated version of USP10.DLL to the \Windows\System32\ folder using the Windows XP or Windows 2000 Recovery Console.

If it is not possible to update the USP10.DLL in your \Windows\System32\ directory at all , the newer version of USP10.DLL may also be copied to the startup directory of Internet Explorer (eg: C:\Program Files\Internet Explorer\) or Firefox (e.g. C:\Program Files\Mozilla Firefox\).