Download Unicode library source code [67 KB]
Last change: 1. April 2001 | Version: 2.0 (beta) This package contains a Unicode support library along with some additional files to use WideStrings/Unicode strings in your application. It is published under Mozilla Public License (MPL 1.1).
Following are the core features:
More than 100 low level and intermediate level functions for:
null terminated strings: StrLenW, StrECopyW, StrLICompW etc.
WideStrings: WideStringOfChar, WideTitleCase etc.
Unicode character test routines: UnicodeIsAlpha, UnicodeIsOpenPunctuation, UnicodeIsRTL etc.
conversion: WideStringToUTF8 and vice versa
KeyUnicode: conversion of a given ANSI character to Unicode based on the currently active keyboard layout
and many more...
TWideStrings and TWideStringList classes, which work like their ANSI counterparts, but with Unicode.
A Unicode Tuned Boyer-Moore search engine (UTBM), for fast linear text searches taking surrogates into account. Special options: case sensitivity, ignore non-spacing, space compression, whole words only.
A comfortable Unicode Regular Expression search engine (URE), implementing most of the Perl 8 RE implementation. This includes:
base operators like: . + * ? () {m, n} (unlimited nesting of subexpressions)
literals and constants: c, /x..., /U....
character classes: [...], [^...], /pN1, N2, ...Nn, /PN1, PN2, ...PNn (examples for these classes are: combining, non-spacing, numdigit, separator, currency symbol). They can be combined with literals and constants like:
[abc/U10A/p1,3,4]
POSIX classes: :alnum:, :digit:, :upper: etc.
the same special options apply here as to the UTBM search engine
Both search engines are based on the same core class to allow for variable search actions.
去這个站点下载
http://www.delphi-unicode.net/