MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CHARSET_ENTRY

Function CHARSET_ENTRY

src/intl/cs_unicode_fss.cpp:31–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#include "cv_unicode_fss.h"
30
31CHARSET_ENTRY(CS_unicode_fss)
32{
33 csptr->charset_version = CHARSET_VERSION_1;
34 csptr->charset_name = "UNICODE_FSS";
35 csptr->charset_flags |= CHARSET_ASCII_BASED;
36 csptr->charset_min_bytes_per_char = 1;
37 csptr->charset_max_bytes_per_char = 3;
38 csptr->charset_space_length = 1;
39 csptr->charset_space_character = (const BYTE*) " "; // 0x20
40 csptr->charset_fn_well_formed = NULL;
41 CV_convert_init(&csptr->charset_to_unicode,
42 CS_UTFFSS_fss_to_unicode_cc,
43 NULL, NULL);
44 CV_convert_init(&csptr->charset_from_unicode,
45 CS_UTFFSS_unicode_to_fss,
46 NULL, NULL);
47 CHARSET_RETURN;
48}

Callers

nothing calls this directly

Calls 1

CV_convert_initFunction · 0.85

Tested by

no test coverage detected