Hi Mark, thanks for the reply,

yes, the Cyrillic characters are displayed, but the way that look is

õåõíä" 
4.............................................................................................................................................................
 
2 <#_Toc156045826>

<#_Toc156045827> <#_Toc156045827>or  CdC5CdCaCe 3.

I'm sorry that my last post was not clear enough.

Hope that this information will help.

Nenko Ivanov

Mark Hall wrote:
> Hi,
>
> Unfortunately I'm a bit stuck on what your actual problem is. Is it that no 
> TOC entries are being displayed? Or that the Cyrillic characters are not 
> being displayed?
>
> If you could clear up my questions, I'll gladly help.
>
> Greetings,
> Mark
>
> On Monday 08 January 2007 17:39, Nenko Ivanov wrote:
>   
>> I have a task to generate table of contents to IText RTF Document,and
>> this toc must be in Cyrillic characters.
>> Sounds simple, toc generation is absolutely examples based and nothing
>> is fine :(
>> So I spent the last 2 days in finding ways to fix this problem.
>> By default IText generate this way for storing toc strings
>>
>>  ret.append("\\\'").append(Long.toHexString((long) ch))
>>
>> in the generated file and at the beginning of the RTF document I have
>> "{\rtf1\ansi\ansicpg1252" opening
>> I tried to change it to 1251 which is Cyrillic encoding, and all kind of
>> encodings for the Toc Entry text value, but I'm still in dead end street :(
>> TOC is generated after "Updating" the RTF document using Microsoft Word
>> 2003 I hope that someone can give me advice or solution.
>> I'm really stuck in the middle of that problem, with no way out ..
>> Thanks in advance.
>>
>> Nenko Ivanov
>>     
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>> Buy the iText book: http://itext.ugent.be/itext-in-action/
>>     

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to