msvcrt:string Fix codepage table 1361 (Korean Johab) [try2]

Alexandre Julliard julliard at winehq.org
Thu Sep 2 05:12:26 CDT 2010


Alexandre Goujon <ale.goujon at 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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list