|
Subject: Re: [xsl] cursed RTF outputs From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 28 Jan 2023 16:50:28 -0000 |
Am 1/28/2023 um 5:43 PM schrieb Jean-Paul Rehr rehrjb@xxxxxxxxx:
> Sorry, I confusedB Windows-1250 andWindows-1252.B Windows-1252 does work
> for my character set (French). NotwithstandingB that, the
> outputB results when opened in rtf do not show up correctly.
How do you open it exactly, doesn't the editor/application ask for an
encoding to choose or at least allow you to select one/reload with a
different encoding?
Anyway, I tried to use a current version of MS Word to store a document
as RTF and it embedded e.g. all of
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31506\stsh
floch31506\stshfhich31506\stshfbi31507\deflang1031\deflangfe1031\themelang103
1\themelangfe0\themelangcs0
at the beginning when I used the text
B C) C( C B( B0 C.
in the document.
No idea what part of that is necessary, I guess the ansicpg1252 is the
code page you say you want to use anyway, so perhaps try adding that in
your generated text.
https://www.biblioscape.com/rtf15_spec.htm#:~:text=for%20OS%2F2)-,Unicode%20R
TF,bit%20characters%20encoded%20as%20hexadecimal.
seems to have lots of gory details, try to digest that perhaps.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] cursed RTF outputs, Jean-Paul Rehr rehrj | Thread | Re: [xsl] cursed RTF outputs, Martin Honnen martin |
| Re: [xsl] cursed RTF outputs, Jean-Paul Rehr rehrj | Date | [xsl] Re: Creating sequence/range t, Charles O'Connor coc |
| Month |