@@ -45,10 +45,11 @@ extern const of_char16_t of_codepage_437[128]; extern const of_char16_t of_codepage_850[128]; extern const of_char16_t of_codepage_858[128]; extern const of_char16_t of_mac_roman[128]; extern const of_char16_t of_koi8_r[128]; +extern const of_char16_t of_koi8_u[128]; static inline int memcasecmp(const char *first, const char *second, size_t length) { for (size_t i = 0; i < length; i++) { @@ -334,10 +335,15 @@ #endif #ifdef HAVE_KOI8_R case OF_STRING_ENCODING_KOI8_R: table = of_koi8_r; break; +#endif +#ifdef HAVE_KOI8_U + case OF_STRING_ENCODING_KOI8_U: + table = of_koi8_u; + break; #endif default: @throw [OFInvalidEncodingException exception]; }