The UP.Simulator can simulate UP.Phones that use a variety of different languages and character sets. Each UP.Phone configuration (.pho file) you load in the UP.Simulator specifies both a default language and a default character set (as well as a default font). For example, the default language and character set for the Samsung UP.Phone are English and US-ASCII.
To change the language, character set, or font used by the UP.Simulator:
This displays the Device Settings dialog box (shown in Figure 1-11).
FIGURE 1-11. Specifying UP.Simulator language, character set, or font
When you are done, click OK. The UP.Simulator saves your language, character set, and font choices on a per-configuration basis. So, if you want to use a particular language with several configurations, you must specify it for each configuration.
Note that you can reset any UP.Simulator configuration to return to default settings by displaying the Device Settings dialog box and clicking Reset to Config Settings.
To configure the UP.Simulator for Japanese:
For information on switching phone configurations, see Simulating different phone and network types.
The UP.Link server features a transcoding capability: it maps the content of communications between an HDML service and an UP.Phone to character sets that each understands. This enables UP.Phones using a variety of character sets to access any HDML service, with little extra effort on the service's part. For more information about creating services that are compliant with the UP.Link server's transcoding capability, see the UP.SDK Developer's Guide.
When you test HDML services with the UP.Simulator, you must run it in UP.Link mode to take advantage of the transcoding capability provided by the UP.Link server. In HTTP direct mode, the UP.Simulator does set the Accept-Charset when it makes an HTTP request. However, it is up to the HDML service to check the header and conduct any necessary transcoding.
Each key on an UP.Phone and the UP.Simulator can enter several characters. For example, the 3 key on a Samsung Duette phone can enter d, e, f, or 2. If you change the language and character set of an UP.Simulator configuration, the default key operation might not allow you to enter all the characters for that language and character set. For example, the French language and the Latin-1 character set include several accented variations of the letter a. However, the default UP.Simulator Samsung Duette configuration does not assign these accented variations to any keypad key. To enter characters not included in the default configuration, enter the desired characters using your computer keyboard.
When you choose a language in the UP.Simulator Device Settings dialog box, the value that appears in parentheses next to the language is the value that the UP.Simulator sets the Accept-Language header to when it makes an HTTP request. For example, if you choose French, the UP.Simulator sets the Accept-Language header to fr.
When you choose a Charset in the Device Settings dialog box, the UP.Simulator sets the Accept-Charset header to the corresponding value shown in the table below.