Name

unicode_toupper, unicode_tolower, unicode_char_properties, iswidestring — per-codepoint Unicode case mapping, property lookup, and wide-string test

Synopsis

integer unicode_toupper( in codepoint integer);
 
integer unicode_tolower( in codepoint integer);
 
integer unicode_char_properties( in codepoint integer,
  in mode integer);
 
integer iswidestring( in value any);
 

Description

unicode_toupper and unicode_tolower apply the Unicode-defined uppercase and lowercase mapping to a single codepoint. Both accept an integer codepoint (e.g. the result of ascii or unicode on a wide character) and return the mapped codepoint as an integer. Codepoints with no case mapping are returned unchanged.

unicode_char_properties returns the bitmask of Unicode properties for the given codepoint. The optional mode argument selects which group of properties is returned: 0 (default) returns the general-category and break-property bits, other values expose script and bidi-class information. The returned bitmask follows Virtuoso's internal Unicode 3 property encoding.

iswidestring returns 1 if value is a wide string (nvarchar, nclob, or a long-wide variant) and 0 otherwise. SQL NULL returns 0. The function is the wide-string counterpart of isstring.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®