MINGW-packages/mingw-w64-libiconv/0003-add-cp65001-as-utf8-alias.patch
2023-02-19 13:21:56 +01:00

13 lines
518 B
Diff

diff -urN a/lib/encodings.def b/lib/encodings.def
--- a/lib/encodings.def 2021-06-06 17:50:48.000000000 +0800
+++ b/lib/encodings.def 2023-01-12 21:17:32.598803000 +0800
@@ -59,7 +59,7 @@
DEFENCODING(( "UTF-8", /* IANA, RFC 2279 */
/*"UTF8", JDK 1.1 */
- /*"CP65001", Windows */
+ "CP65001", /* Windows */
),
utf8,
{ utf8_mbtowc, NULL }, { utf8_wctomb, NULL })