Re: MSWord DOC (fwd)


Subject: Re: MSWord DOC (fwd)
From: Vlad Harchev (hvv@hippo.ru)
Date: Sat Nov 11 2000 - 09:55:05 CST


 Just to add more information - here is the file that wv fails to treat
correctly (the data in it doesn't get converted to unicode at all). Most
probably CJK in Word6.0 format is yet not supported by wv. All that is needed
is to extract language code or whatever to be able to setup iconv descriptor
for right input charset.

 I should say that wv imports russian in word6.0 format just fine, so this is
only CJK problem.

 Best regards,
  -Vlad

---------- Forwarded message ----------
Date: Sat, 11 Nov 2000 22:59:47 +0800
From: Chih-Wei Huang <cwhuang@linux.org.tw>
To: Vlad Harchev <hvv@hippo.ru>
Subject: Re: MSWord DOC

Vlad Harchev ¼g¹D¡G
>
> --- ie_imp_MsWord_97.cpp-was Sat Nov 11 12:44:20 2000
> +++ ie_imp_MsWord_97.cpp Sat Nov 11 12:40:08 2000
> @@ -629,7 +629,7 @@
> else
> {
> FREEP(fname);
> - fname=UT_strdup(f);
> + fname=UT_strdup(f ? f : "helvetic");
> }
> }
> }

OK! Yes, it works!
Now import MSWord2k doc will not crashed.

However, I tried to import doc
saved by MS Wordpad(the attachment),
The Chinese characters become "??".

-- 
   ~     Chih-Wei Huang (cwhuang)
  'v'    E-Mail       : cwhuang@linux.org.tw
 // \\   CLDP Project : http://www.linux.org.tw/CLDP/ (Coordinator)
/(   )\  CLE  Project : http://cle.linux.org.tw/CLE/  (Developer)
 ^`~'^   HomePage     : http://www.cwhuang.idv.tw/




This archive was generated by hypermail 2b25 : Sat Nov 11 2000 - 10:14:20 CST