Re: request for help from CJK hackers


Subject: Re: request for help from CJK hackers
From: Sam TH (sam@uchicago.edu)
Date: Thu Nov 09 2000 - 04:51:29 CST


On Thu, Nov 09, 2000 at 02:24:17PM +0400, Vlad Harchev wrote:

> Current file has
> m_wctomb.wctomb_or_fallback(mbbuf,mblen,*pData++);
> for(int i=0;i<mblen;++i) {
> unsigned char c = mbbuf[i];
> if ( c > 0x007f)
> m_pie->_rtf_nonascii_hex2(c);
> else
> *pBuf++ = c;
>
> };
> Should be changed to
> m_wctomb.wctomb_or_fallback(mbbuf,mblen,*pData++);
> for(int i=0;i<mblen;++i) {
> unsigned char c = mbbuf[i];
> if ( c > 0x007f) {
> FlushBuffer();
> m_pie->_rtf_nonascii_hex2(c);
> } else
> *pBuf++ = c;
> };
>
> I.e. FlushBuffer(); inserted again.

Having looked at the suggestion by hashao, I thought this might be
the answer.

When are you going to want this committed? When you have the RTF
situation straightend out, could you post a patch to fix it, so the
rest of us know what to commit?

Thanks lots

           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC




This archive was generated by hypermail 2b25 : Thu Nov 09 2000 - 04:51:33 CST