Re: convert GB to Big5
- From: "Leonid" <leonid@xxxxxxxxxxxxxx>
- Date: Thu, 17 Nov 2005 15:47:05 +0200
Try Google search for
"#define LCMAP_TRADITIONAL_CHINESE"
Leonid
"King Pi" <piking@xxxxxxxxxxx> wrote in message
news:%23dUUD9s6FHA.808@xxxxxxxxxxxxxxxxxxxxxxx
>I found out I can use strconv() for converting GB to unicode and then
>converting it to Big5.
> However, the result is imcomplete. Some characters becomes "?".
> It seems that I need to map the unicoded GB to unicoded Big5 before
> converting to ANSI Big5.
> LCMapString in Win32 API should do it.
>
> My problem is I do not know how to call it!
> Here's what I think:
> DECLARE integer LCMapString IN WIN32API integer, long, string, integer,
> string @, integer
>
> s = STRCONV(m.cString, 5, 936,1)
> buf = SPACE(10)
> n = LCMapString(0x0804,****,s, LEN(s), @buf, 10)
>
> What should I place in ****? MSDN only shows some option macros like,
> LCMAP_TRADITIONAL_CHINESE, but I cannot find the value it exactly
> represents....
>
> p.s. I am using VFP9
>
> Please help.
> Thanks
>
.
- References:
- convert GB to Big5
- From: King Pi
- convert GB to Big5
- Prev by Date: Re: VFP 9.0 Exe File Path
- Next by Date: Re: alter cursor
- Previous by thread: Re: convert GB to Big5
- Next by thread: Re: alter cursor
- Index(es):
Relevant Pages
|