Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

Unicode Support

Simply storing Unicode data has always been possible with FairCom DB API, provided the application treated the data as binary and performed any necessary translations. In this case, using the stored Unicode data as a segment of an index was difficult since FairCom DB API had no way of knowing how the underlying binary data was encoded: UTF-8. UTF-16, ASCII, etc.

In This Section

FairCom DB Unicode UTF-16 Field Types

Creating Tables with Unicode Field types

Reading UTF-16 Field Data

Writing UTF-16 Field Data

Creating Key Segments based on Unicode Fields

How to Specify a Unicode Key Segment

Specifying a Unicode Key Segment with CTSEG_UNCSEG

ICU Collation Option Overview

Storing UTF-8 Data

Converting from Unicode UTF-16 to UTF-8

TOCIndex