Alexandre Goujon ale.goujon@gmail.com writes:
@@ -1563,8 +1564,11 @@ sub HANDLE_FILE(@) } printf OUTPUT "#include "wine/unicode.h"\n\n";
- if( $codepage == 1361 ) { @lb_ranges = ( 0x81, 0xd3, 0xd8, 0xde, 0xe0, 0xf9 ); }
- else { @lb_ranges = get_lb_ranges(); }
There's no reason to hardcode the whole thing. If some lead bytes aren't detected properly you can add just those.