WebSpeed
Product Update Bulletin
Internationalization
WebSpeed Version 3.1A provided several new or revised features related to internationalization:
Additional Support for International Numeric Formats
Version 3.1A provided additional support for international numeric formats:
- The Fractional Separator (-numdec) startup parameter sets the character that separates the integer portion and the fractional portion of a decimal value.
- The Thousands Separator (-numsep) startup parameter sets the character that separates each group of three digits in the integer portion of a number.
- The value of NUMERIC-FORMAT can now be a character string consisting of the thousands separator followed by the fractional separator.
- The NUMERIC-SEPARATOR attribute sets the character that separates each group of three digits in the integer portion of a number.
- The NUMERIC-DECIMAL-POINT attribute sets the character that separates the integer portion and the fractional portion of a decimal value.
- The SET-NUMERIC-FORMAT() method sets the NUMERIC-SEPARATOR and NUMERIC-DECIMAL attributes to arbitrary values simultaneously.
Additions to SpeedScript
WebSpeed 3.1A included additions to SpeedScript that apply to internationalization:
- The COMPARE function compares two strings, using one of several methods (“RAW,” “CASE-SENSITIVE,” “CASE-INSENSITIVE,” or “CAPS”) and the collation table you specify.
- The COLLATE option of the FOR statement, the OPEN QUERY statement, and the PRESELECT phrase computes the collation value of a string using one of several methods (“RAW,” “CASE-SENSITIVE,” “CASE-INSENSITIVE,” or “CAPS”) and the collation table you specify.
XML Code Page Support
XML documents can be encoded using any of a wide a variety of character encodings.
Collations and Code-page Conversions
Version 3.1A made a number of changes to collations and code-page conversions described in the following sections.
Table 1–4 lists the collations added to Version 3.1.
Table 1–4: Collations Added To Version 3.1 Code Page Name Collation Name 1250 CROATIAN 1254 TURKISH-COMP 1256 ARABIC9 1257 LITHUANIAN 620-2533 BASIC
NOTE: WebSpeed Version 3.1A provided a new Thai collation, BASIC. This collation, available for the 620-2533 code page, follows the rules of Thai sorting more closely. The empty database in theDLC/prolang/tai
directory uses this collation. Progress Software Corporation recommends that you use this new collation. See Release Note 091A-00550 for more information.For more information on converting databases from an older collation to a newer collation, see the chapter on character processing tables in the Progress Internationalization Guide .
Renamed Collation
Version 3.1A renamed the THAI collation of code page 620-2533 to THAI-OLD. It is still available through the
thai-old.df
file in theDLC/prolang/tai
directory.New Code-page Conversions
Table 1–5 lists the code-page conversions added to Version 3.1A.
Table 1–5: Code-page Conversions Added To Version 3.1A Source Code Page Target Code Page 1257 UTF-8 UTF-8 1257
New Initial Value Segment No Convert (-isnoconv) Startup Parameter
The -isnoconv option disables conversion of INIT and :U strings that contain non-ASCII characters.
By default, INIT and :U strings are codepage converted if they contain non-ASCII characters. It is possible that compiling existing code may result in larger r-code segments and compilation may fail due to exceeding segment limits.
Memory-mapped R-code and Automatic Code-page Conversion
WebSpeed Version 3.1A offers memory-mapped r-code, which reduces the amount of memory required to run multiple WebSpeed and Progress processes. Because memory-mapped files are shared, they are read-only, which means that WebSpeed cannot convert the code page as the file is loaded. So if the r-code code page (-rcodein) and the internal memory code page (-cpinternal) are different, WebSpeed reports an error and stops.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |