On Wed, Nov 15, 2000 at 07:34:28PM +1100, [EMAIL PROTECTED] wrote:
>
> This may be more iconv problems. On my RedHat 7.0 laptop MS Word imports
> great. On my RedHat 6.2 desktop Word Import gives me nothing but question
> marks.
>
Might be but the word 6.0 problem is not iconv.
>
> On Wed, 15 Nov 2000, Belcon Zhao wrote:
>
> > Hello,
> > Had anyone tried to import Word6.0 files?
> > It was said that AW can import Word6.0 files(even contain Chinese
> > chars)very well.But after I update my abi&wv cvs source tree and
> > re-make,re-install.I tried to open Word6.0 file,but only got many
> > "?" and other rubbish.(even only contains English chars).
> > I make a Word6.0 file with Wordpat of MS Windows98.This file
> > only contains "AbiWord".
> > I would be very thankful if somebody point that I had made a
> > mistake,while AW can support Word6.0 perfectly.:-)
I think the swap bit call in wvHandleCodePage screwed Word6. :)
Maybe it is called in the invert sense or the swap routin need
more twick. In file wv/text.c line 340, change
if(!swap_iconv_u2n(iconv_handle, lid))
to
if(swap_iconv_u2n(iconv_handle, lid))
will give perfect(for my test file) result.
I will leave it to Dom tell what's going wrong. :)
--
Best regard
ha_shao