ha shao wrote:
> 
> On Tue, May 22, 2001 at 03:26:27AM +1000, [EMAIL PROTECTED] 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}}

Since your document states \ansicpg936 its native encoding
is Chinese GB.  It only outputs unicode sequences for
characters which don't fit the native encoding.  With
a Western encoding like I use CJK output is always unicode.

At least this is how other software exports RTF.

Andrew.

-- 
http://linguaphile.sourceforge.net

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to