Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Access Module for Microsoft SQL Server User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.10 Internationalization

SourcePro DB fully supports the Unicode (UTF-16) data standard. This functionality allows you to move Unicode data to and from your Unicode-enabled database.

2.10.1 Prerequisites

This section describes the prerequisites for internationalization.

2.10.1.1 Environment Variables

There are no environmental prerequisites to use internationalization functionality with Microsoft SQL Server.

2.10.1.2 Environment Handle API Changes

No additional environment handle methods were added to the DB Access Module for Microsoft SQL Server to handle internationalization functionality.

2.10.2 Data Bindings

Unicode data can be moved to or from your application with the classes RWBasicUString or RWUString which are mapped to the Unicode server types nchar, nvarchar, and ntext.

2.10.3 Limitations

This sections describes some of the limitations for SourcePro DB.

2.10.3.1 Metadata

SourcePro DB does not currently support Unicode logins, passwords, or metadata.

2.10.3.2 Use of RWWString in Unicode Applications

Due to platform inconsistencies, Rogue Wave recommends that you do not write Unicode applications with RWWString. On platforms where a wchar_t is defined as greater than 2 bytes, a costly conversion will occur to convert your data from 2-byte UTF-16 to 4-byte padded UTF-16. Furthermore, after the conversion, your application will still not have valid Unicode. Whether the size of wchar_t is 2 bytes or 4 bytes, the RWWString will represent only UTF-16 data, not a true wide string, as it has not been localized. Rogue Wave recommends using one of our Unicode string containers, RWBasicUString (from the Essential Tools Module) or RWUString (from the Internationalization Module).



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.