Is the attached patch well formed ?
Can someone give it a try ?
I don't want to run it, I fear it'll download all tables : my 3G Internet connection is limited to 20 kB/s now (I downloaded more than 5 GB but no one cares)
diff --git a/libs/wine/cpmap.pl b/libs/wine/cpmap.pl
index 79f5fd5..d112f0d 100755
--- a/libs/wine/cpmap.pl
+++ b/libs/wine/cpmap.pl
@@ -1563,8 +1563,11 @@ sub HANDLE_FILE(@)
     }
     printf OUTPUT "#include \"wine/unicode.h\"\n\n";
 
+    if( $codepage == 1361 ) my $lb_ranges =  ( 0x81, 0xd3, 0xd8, 0xde, 0xe0, 0xf9, 0x00, 0x00 );
+    else my $lb_ranges = get_lb_ranges();
+
     if (!...@lead_bytes) { dump_sbcs_table( $codepage, $has_glyphs, $comment, $DEF_CHAR, $DEF_CHAR ); }
-    else { dump_dbcs_table( $codepage, $comment, $DEF_CHAR, $DEF_CHAR, get_lb_ranges() ); }
+    else { dump_dbcs_table( $codepage, $comment, $DEF_CHAR, $DEF_CHAR, $lb_ranges ); }
     close OUTPUT;
     save_file($output);
 }


Reply via email to