PATCH: dlls/kernel/locale.c portability enhancement
Gerald Pfeifer
pfeifer at dbai.tuwien.ac.at
Wed Jul 9 05:12:04 CDT 2003
After Dmitry's recent massive enhancements of dlls/kernel/locale.c
(Thanks!) I have been getting the following on FreeBSD systems:
fixme:nls:init_default_lcid charset ISO_8859-1 was not recognized
The patch below fixes this by duplicating and adjusting the existing
entries.
ChangeLog:
Add charset information as used by FreeBSD.
Index: locale.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/locale.c,v
retrieving revision 1.13
diff -u -3 -p -r1.13 locale.c
--- locale.c 9 Jul 2003 04:22:57 -0000 1.13
+++ locale.c 9 Jul 2003 10:00:48 -0000
@@ -93,6 +93,19 @@ static const struct charset_entry
{ "ISO-8859-7", 28597 },
{ "ISO-8859-8", 28598 },
{ "ISO-8859-9", 28599 },
+ { "ISO_8859-1", 28591 },
+ { "ISO_8859-10", 28600 },
+ { "ISO_8859-13", 28603 },
+ { "ISO_8859-14", 28604 },
+ { "ISO_8859-15", 28605 },
+ { "ISO_8859-2", 28592 },
+ { "ISO_8859-3", 28593 },
+ { "ISO_8859-4", 28594 },
+ { "ISO_8859-5", 28595 },
+ { "ISO_8859-6", 28596 },
+ { "ISO_8859-7", 28597 },
+ { "ISO_8859-8", 28598 },
+ { "ISO_8859-9", 28599 },
{ "KOI8-R", 20866 },
{ "KOI8-U", 20866 },
{ "UTF-8", CP_UTF8 }
More information about the wine-patches
mailing list