'; ?> Example of using Unicode

Using Unicode

Version 2.1 of TexToys introduces full interface support for Unicode text (in Windows NT4/2000/XP only). Unicode support allows you to create texts in any language. The next example shows an exercise containing English, French, Russian, Greek and Japanese, all in the same text. In order to view the example, you will need a Unicode-capable operating system, and a full Unicode font; the example here uses the Microsoft font Arial Unicode MS. If you don't have a Unicode OS, or a suitable font, you will not see the correct characters, so screenshots are included below. In WebRhubarb, the exercise looks like this:

WebRhubarb main screen showing multilingual text

You can see the mixture of languages. This example is obviously unrealistic; it is unlikely you would want to mix any more than two languages in one exercise. As well as covering almost all human languages, Unicode also enables you to use phonetic characters from the International Phonetic Alphabet, mathematical characters, and a range of other useful symbols.

Now try the example exercise, which will pop up in a separate window.

If you don't have a modern operating system, or if you don't have the Arial Unicode MS font installed, you may not see all the characters correctly, so here is a screenshot of the exercise as it should appear:

Mozilla browser showing multilingual WebRhubarb exercise

You can see that a set of buttons has been included, enabling the student to type non-latin characters without having to use a special input method editor or keyboard map. The Rhubarb program can insert these buttons automatically. This can be very useful when your students may be new to a language, and unable to use a special keyboard or input method editor to enter the characters themselves.

For more information on Unicode, see http://www.unicode.org. For help on how to use Unicode in TexToys exercises, see the TexToys help file.