mirror of https://github.com/MidnightCommander/mc
charset: rename IBM866 to CP866 (common name for most systems)
solaris $ iconv -l | grep 866 CP866 (CP866, CP-866, CP_866, 866), IBM-866, macos % iconv -l | grep 866 CP866 866 CSIBM866 IBM866 MSCP866 linux $ iconv -l | grep 866 866// 866NAV// CP866// CP866NAV// CSIBM866// IBM866// IBM866NAV// musl/src/locale/codepages.h: "cp866\0" Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
bc6e4369df
commit
2a1f00fd09
|
@ -7,7 +7,7 @@ CP1250 Windows 1250
|
|||
CP437 CP 437
|
||||
CP850 CP 850
|
||||
CP852 CP 852
|
||||
IBM866 CP 866
|
||||
CP866 CP 866
|
||||
KOI8-R KOI8-R
|
||||
KOI8-U KOI8-U
|
||||
UTF-8 UTF-8
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
ASCII 7-bit ASCII
|
||||
IBM866 CP 866
|
||||
CP866 CP 866
|
||||
KOI8-R KOI8-R
|
||||
KOI8-U KOI8-U
|
||||
UTF-8 UTF-8
|
||||
|
|
|
@ -112,8 +112,8 @@ static const struct test_vfs_get_encoding_ds
|
|||
NULL
|
||||
},
|
||||
{ /* 14 */
|
||||
"/aaaa/#enc:UTF-8/bbbb/#enc:KOI8-R#enc:IBM866/cccc",
|
||||
"KOI8-R#enc:IBM866"
|
||||
"/aaaa/#enc:UTF-8/bbbb/#enc:KOI8-R#enc:CP866/cccc",
|
||||
"KOI8-R#enc:CP866"
|
||||
}
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
|
|
@ -125,36 +125,36 @@ static const struct test_from_to_string_ds
|
|||
&vfs_test_ops3
|
||||
},
|
||||
{ /* 4. */
|
||||
"/#test1/bla-bla1/#enc:IBM866/some/path/#test2/bla-bla2/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/test1://#enc:IBM866/bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"/#test1/bla-bla1/#enc:CP866/some/path/#test2/bla-bla2/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/test1://#enc:CP866/bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"111/22/33",
|
||||
4,
|
||||
&vfs_test_ops3
|
||||
},
|
||||
{ /* 5. */
|
||||
"/#test1/bla-bla1/some/path/#test2/bla-bla2/#enc:IBM866/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/#test1/bla-bla1/some/path/#test2/bla-bla2/#enc:CP866/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/test1://bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"111/22/33",
|
||||
4,
|
||||
&vfs_test_ops3
|
||||
},
|
||||
{ /* 6. */
|
||||
"/#test1/bla-bla1/some/path/#test2/bla-bla2/#enc:IBM866/some/#enc:KOI8-R/path#test3/111/22/33",
|
||||
"/#test1/bla-bla1/some/path/#test2/bla-bla2/#enc:CP866/some/#enc:KOI8-R/path#test3/111/22/33",
|
||||
"/test1://bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"111/22/33",
|
||||
4,
|
||||
&vfs_test_ops3
|
||||
},
|
||||
{ /* 7. */
|
||||
"/#test1/bla-bla1/some/path/#test2/#enc:IBM866/bla-bla2/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/#test1/bla-bla1/some/path/#test2/#enc:CP866/bla-bla2/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/test1://bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"111/22/33",
|
||||
4,
|
||||
&vfs_test_ops3
|
||||
},
|
||||
{ /* 8. */
|
||||
"/#test1/bla-bla1/some/path/#enc:IBM866/#test2/bla-bla2/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/test1://#enc:IBM866/bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"/#test1/bla-bla1/some/path/#enc:CP866/#test2/bla-bla2/#enc:KOI8-R/some/path#test3/111/22/33",
|
||||
"/test1://#enc:CP866/bla-bla1/some/path/test2://#enc:KOI8-R/bla-bla2/some/path/test3://111/22/33",
|
||||
"111/22/33",
|
||||
4,
|
||||
&vfs_test_ops3
|
||||
|
|
Loading…
Reference in New Issue