@@ -37,10 +37,11 @@ #import "of_asprintf.h" #import "unicode.h" extern const of_char16_t of_iso_8859_15[128]; +extern const of_char16_t of_windows_1251[128]; extern const of_char16_t of_windows_1252[128]; extern const of_char16_t of_codepage_437[128]; extern const of_char16_t of_codepage_850[128]; extern const of_char16_t of_mac_roman[128]; @@ -288,10 +289,13 @@ } switch (encoding) { case OF_STRING_ENCODING_ISO_8859_15: table = of_iso_8859_15; + break; + case OF_STRING_ENCODING_WINDOWS_1251: + table = of_windows_1251; break; case OF_STRING_ENCODING_WINDOWS_1252: table = of_windows_1252; break; case OF_STRING_ENCODING_CODEPAGE_437: