Aric Stewart : libwine: There are a few supercript characters (No, Lm types ) that Windows marks as being either digit or as a letter.
Alexandre Julliard
julliard at winehq.org
Thu Jul 22 12:09:30 CDT 2010
Module: wine
Branch: master
Commit: 46a5b46710a4b8a886674a13b401c01db3d09bf0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=46a5b46710a4b8a886674a13b401c01db3d09bf0
Author: Aric Stewart <aric at codeweavers.com>
Date: Mon Jul 19 13:52:43 2010 -0500
libwine: There are a few supercript characters (No, Lm types) that Windows marks as being either digit or as a letter.
---
libs/wine/cpmap.pl | 4 +++-
libs/wine/wctype.c | 8 ++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/libs/wine/cpmap.pl b/libs/wine/cpmap.pl
index 7a02ee6..79f5fd5 100755
--- a/libs/wine/cpmap.pl
+++ b/libs/wine/cpmap.pl
@@ -161,7 +161,9 @@ my %special_categories =
0x206a, 0x206b, 0x206c, 0x206d, 0x206e, 0x206f, 0xfeff,
0xfff9, 0xfffa, 0xfffb ],
"punct" => [ 0x24, 0x2b, 0x3c..0x3e, 0x5e, 0x60, 0x7c, 0x7e, 0xa2..0xbe,
- 0xd7, 0xf7 ]
+ 0xd7, 0xf7 ],
+ "digit" => [ 0xb2, 0xb3, 0xb9 ],
+ "lower" => [ 0x2071, 0x207f ]
);
my %directions =
diff --git a/libs/wine/wctype.c b/libs/wine/wctype.c
index 071a7b4..5b5100e 100644
--- a/libs/wine/wctype.c
+++ b/libs/wine/wctype.c
@@ -61,8 +61,8 @@ const unsigned short wine_wctype_table[17152] =
0xe220, 0xe220, 0xe220, 0xe220, 0xe220, 0xe220, 0xe220, 0xe220,
0x7248, 0xb210, 0x5210, 0x5210, 0x5210, 0x5210, 0xb210, 0xb210,
0xb210, 0xb210, 0x1312, 0xb210, 0xb210, 0xe230, 0xb210, 0xb210,
- 0x5210, 0x5210, 0x3210, 0x3210, 0xb210, 0x1312, 0xb210, 0xb210,
- 0xb210, 0x3210, 0x1312, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210,
+ 0x5210, 0x5210, 0x3214, 0x3214, 0xb210, 0x1312, 0xb210, 0xb210,
+ 0xb210, 0x3214, 0x1312, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210,
0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301,
0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301,
0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0x1301, 0xb210,
@@ -1045,8 +1045,8 @@ const unsigned short wine_wctype_table[17152] =
0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xa208,
0xe220, 0xe220, 0xe220, 0xe220, 0xe220, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0xe220, 0xe220, 0xe220, 0xe220, 0xe220, 0xe220,
- 0x3200, 0x1300, 0x0000, 0x0000, 0x3200, 0x3200, 0x3200, 0x3200,
- 0x3200, 0x3200, 0x4200, 0x4200, 0xb200, 0xb210, 0xb210, 0x1300,
+ 0x3200, 0x1302, 0x0000, 0x0000, 0x3200, 0x3200, 0x3200, 0x3200,
+ 0x3200, 0x3200, 0x4200, 0x4200, 0xb200, 0xb210, 0xb210, 0x1302,
0x3200, 0x3200, 0x3200, 0x3200, 0x3200, 0x3200, 0x3200, 0x3200,
0x3200, 0x3200, 0x4200, 0x4200, 0xb200, 0xb210, 0xb210, 0x0000,
0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, 0x0000,
More information about the wine-cvs
mailing list