diff options
author | jozan <jozan@noemail.net> | 2020-11-12 20:48:38 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-12 20:48:38 +0000 |
commit | faa0f0cce74ad9ff2998461294d24ff41541a8a0 (patch) | |
tree | a0a19580390807e55ca3878f42eabaa4f9ddcac9 /src/c_subst.c | |
parent | More unicode to come (diff) | |
download | unixize-faa0f0cce74ad9ff2998461294d24ff41541a8a0.tar.gz unixize-faa0f0cce74ad9ff2998461294d24ff41541a8a0.tar.bz2 unixize-faa0f0cce74ad9ff2998461294d24ff41541a8a0.tar.xz unixize-faa0f0cce74ad9ff2998461294d24ff41541a8a0.tar.zst unixize-faa0f0cce74ad9ff2998461294d24ff41541a8a0.zip |
In progress
FossilOrigin-Name: 86100f797e85a905ffed6cd87165987fdc03f60e0cffdb37d29b94c8b69acda7
Diffstat (limited to '')
-rw-r--r-- | src/c_subst.c | 9 |
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) { |