| 29 | #include "cv_unicode_fss.h" |
| 30 | |
| 31 | CHARSET_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 | } |
nothing calls this directly
no test coverage detected