Re: Patch: Fix for Bug 1164, 2nd try


Subject: Re: Patch: Fix for Bug 1164, 2nd try
From: Vlad Harchev (hvv@hippo.ru)
Date: Tue May 22 2001 - 02:47:09 CDT


On Tue, 22 May 2001, ha shao wrote:

> On Tue, May 22, 2001 at 03:26:27AM +1000, hippietrail@yahoo.com wrote:
> >
> > Well there are various ways to encode. AbiWord's RTF exporter work fine
> > for CJK but it exports unicode:
> >
> > \f0 \uc0\u12518 \uc0\u12491 \uc0\u12467 \uc0\u12540 \uc0\u12489
> > \uc0\u12392 \uc0\u12399 \uc0\u20309 \uc0\u12363 \uc0\u-225
> >
>
> Is this in current cvs? When I test it, Abiword export CJK rtf file
> like:
>
> {\rtf1\ansi\ansicpg936\deff0
> {\fonttbl
> {\f0\fnil\fcharset134\fprq0\fttruetype Times New Roman;}}
> {\colortbl
> \red0\green0\blue0;
> \red255\green255\blue255;}
> \kerning0\cf0\viewkind1\paperw12240\paperh15840\margl1440\margr1440\widowctl
> \sectd\sbknone\colsx360\headery0\footery0
> \pard{\f0 \'b3\'d4\'c1\'cb\'c2\'f0}}

 Is it correct RTF (seems so)?

 Andrew's RTF looks different from yours because Andrew is running Win2k - it
seems XAP_EncodingManager.is_cjk_locale() returns 0 under Win2k and 1 (as
expected) under unix. Andrew, coduld you correct this (make is_cjk_locale()
returning proper value)?

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:06 CDT