Hi all,

I am writing to this mail group for the third time with the same problem :(
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/

Reply via email to