aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_subst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_subst.c')
-rw-r--r--src/c_subst.c9
1 files changed, 9 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) {