# 22. Virtuoso Functions Guide - elh_get_handler

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
charset_define
charset_recode
charsets_list
current_charset
elh_get_handler
elh_load_handler
lh_get_handler
lh_load_handler
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## elh_get_handler

get localization function handler
encodedlang_handler_t *elh_get_handler (encoding_handler_t * encoding , language_handler_t * language );
Parameters
encoding – Name of the encoding to be used.
language – Name of the text language
Return Types

Returns "encoded language" handler for optimized processing of texts on given language with given encoding as described in section Adding New Languages and Encodings Into Virtuoso of the main documentation. If encoding is NULL, or if there's no optimized handler for given encoding/language combination, then NULL will be returned, indicating failure, otherwise combination's handler will be returned.

Examples
Returning a Handler Pointer

    encodedlang_handler_t *elh =
      elh_get_handler(eh_get_handler("MY-ENCODING"),
        lh_get_handler("x-my-language")
      );

See Also

elh_load_handler

lh_get_handler

lh_load_handler

Adding New Languages and Encodings Into Virtuoso