msvcrt:string Fix codepage table 1361 (Korean Johab)

GOUJON Alexandre ale.goujon at gmail.com
Tue Aug 31 03:12:09 CDT 2010


On 08/28/2010 02:12 PM, Alexandre Goujon wrote:
> I know that libs/wine/c_1361.c is generated ("DO NOT EDIT!!").
> However (union cptable)cptable_1361.dbcs->lead_bytes needs to be modified according tests
>   [...]
> diff --git a/libs/wine/c_1361.c b/libs/wine/c_1361.c
> index b424cb1..50d2c47 100644
> --- a/libs/wine/c_1361.c
> +++ b/libs/wine/c_1361.c
> @@ -8902,6 +8902,6 @@ const struct dbcs_table cptable_1361 =
>       uni2cp_low,
>       uni2cp_high,
>       {
> -        0x84, 0xd3, 0xd9, 0xde, 0xe0, 0xf9, 0x00, 0x00
> +        0x81, 0xd3, 0xd8, 0xde, 0xe0, 0xf9, 0x00, 0x00
>       }
>   };
>    
May I ask some guidance to make this [1] patch accepted ?
Tests prove that the values above needs to be modified.
Actually, I don't know if "uni2cp_high" is generated from the Internet 
or cpmap.pl (maybe both)
Anyway, I don't understand perl.

May 
http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT 
be wrong ?
Or may Windows doesn't fully comply with unicode ?

Thanks
---
[1] : http://source.winehq.org/patches/data/65550



More information about the wine-devel mailing list