Hi. Sergey.

  I download the latest jar file.

poi-scratchpad-3.8-beta4-20110808.jar
poi-3.8-beta4-20110808.jar
poi-excelant-3.8-beta4-20110808.jar

and replace with my existing jars.

Now the read is still the correct. But the write,
range.insertAfter("helloworld");
even the English word can't be insert into doc file either. nothing was
inserted into the document.

Can you check this too?


I don't link with

poi-dependencies-<version>-<date>.jar
because I see without it my compilation works fine too. Will it be the issue?




Regards.
Scott

On Tue, Aug 9, 2011 at 12:32 PM, Scott Zhang <[email protected]> wrote:

> Sure.
>
> Doing
>
>
>
>
> On Tue, Aug 9, 2011 at 12:29 PM, Sergey Vladimirov <[email protected]>wrote:
>
>> Hi,
>>
>> Could you try to do it using latest version of POI, available at
>> http://encore.torchbox.com/poi-cvs-build/ ?
>>
>> Best regards,
>> Sergey
>>
>> On Tue, Aug 9, 2011 at 7:41 AM, Scott Zhang <[email protected]>
>> wrote:
>> > Hello.
>> >    I am using POI library to read/write text from word2003 files.
>> >    I use
>> >    range = document.getRange();
>> >    system.out.println(range.text());
>> >
>> > the Chinese character is output correctly.
>> >   But when I try to insert the same text back.
>> >    range.insertAfter(range.text());
>> >
>> > I can only see mess code in output doc. How can I solve this?
>> >
>> >
>> > Thanks.
>> > Regards.
>> > Scott
>> >
>>
>>
>>
>> --
>> Sergey Vladimirov
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to