diff options
-rw-r--r-- | src/c_subst.c | 9 | ||||
-rw-r--r-- | src/c_subst.h | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/c_subst.c b/src/c_subst.c index 31c2cde..0291dc7 100644 --- a/src/c_subst.c +++ b/src/c_subst.c @@ -302,6 +302,15 @@ c_unicode_subst(char filename[]) ); c_unicode_subst(filename); } + if (u_isucharset((unsigned char)*(p + 1), C_CHARSET_I) == TRUE) { + *p = 'i'; + memmove( + p + 1, + p + 2, + (strlen((const char*)p + 2) + 1) * sizeof(char) + ); + c_unicode_subst(filename); + } } if (*p == 0xce) { if (*(p + 1) == 0xbc) { diff --git a/src/c_subst.h b/src/c_subst.h index e698632..124dcf5 100644 --- a/src/c_subst.h +++ b/src/c_subst.h @@ -67,6 +67,8 @@ "\x88\x89\x8a\x8b\xa8\xa9\xaa\xab" #define C_CHARSET_U \ "\x99\x9a\x9b\x9c\xb9\xba\xbb\xbc" +#define C_CHARSET_I \ + "\x8c\x8d\x8e\x8f\xac\xab\xac\xad" struct lfiles_s* c_subst_filenames(struct lfiles_s*, const bool_t, const bool_t, const unsigned char); |