| Basics of the construction and functionality of HSOK: Unicode support |
|
| 20 June 2007 | |||||||||||||||||||||
Page 7 of 9 Unicode supportHSOK supports two Unicode types :
Values of fields of type WideString and TWideStringList are read and written from/to text files in UTF-8 format. To convert them we use WideStringToUTF8 and UTF8ToWideString functions from the HSUnicode module. THSObjectGrid component supplied with HSOK package is able to draw the content of these fields, but only if a proper font is chosen (that means supporting Unicode characters, e.g. Arial). Sorting and searching using these fields uses native Delphi WideString comparison methods. |
|||||||||||||||||||||





