Next in thread →
Next in month →
Re: DOCBOOK-APPS: HTML from docbook
Adam Di Carlo wrote: > Should the stylesheets do this automatically? Can we know the > encoding of the output based on the language of the document? Unfortunately, no. There are two general encodings of one russian language - koi8-r for Free*NIX users and windows-1251 for Win-based (other ones are not significant - commercial UNIZes using ISO 8859-5, Mac, DOS - their owns) One SGML source in Russian (e.g. in KOI-8) usually used for producing HTML output for Web (encoding does'nt matter - it only must be specified with ContentType in header or <META>), TeX->PostScript->PDF (using UNICODE, I guess), and .rtf for document exchange with windows-based partners or customers. Target RTF must be in Win-1251 - then MS Word can open it correctly. There's situation. Jirka written about the same in Czech. One of solutions - using environment variable - e.g. TARGET_ENCODING ( SP_ENCODING? ) or customized stylesheet direction for specifing output encoding and doing symbols converting while producing output on-the-fly. > Also, Oleg, I have many reports that there are problems with > Jade/OpenJade and koi8-r encoded output, such as the Russian work for > Chapter not showing up properly. Chapters, articles and other works properly now, (but I've tested it with HTML & RTF only). Alexey Vyskubov <> said that he can't produce correct PS/PDF with SP_ENCODING=koi8-r setting. I don't know what he meaned exactly. > Would it be possible to send me or > this list a very small document showing a Cyrillic document? Attached document has cyrillic koi8-r encoding. -- WBR, Oleg Amiton Epsylon Technologies, R&D http://www.demo.ru
Next in thread →
Next in month →