Which platform do you use?

Encodings are evergreen ... Sablotron can handle few encodings 
internally, iso-8859-2 should be one of them. Tom has to say more (he's 
away just now).

On Unix platforms with iconv library many others encodings works.

In all cases it has nothing to do with input encoding. All documents are 
internally processed as utf-8 documents, output recoding the final 
processing phase.

Philip Stuyck wrote:

> Hi Pavel,
> 
> Thank you for your quick reply.
> I tried <xsl:output encoding="iso-8859-1"/> But this gives
> followig warning :
> Warning [code:458] output encoding 'iso-8859-1' not supported,
> using 'UTF-8'
> Is this caused because the xml source document is in UTF-8 ?
> 
> best regards,
> Philip
> 
> 
> Pavel Hlavnicka wrote:
> 
> 
>> Philip,
>> 
>> There is no simple way how to suppress META tag using html output
>> method. You may build sablotron with SABLOT_DISABLE_ADDING_META define.
>> This is done using --disable-adding-meta switch for the configure
>> script. In this case you may generate META tag of your own.
>> 
>> Note, that META tag and output  encoding SHOULD correspond, so I do not
>> understand, what's wrong. Maybe your data doesn't contain any
>> international characters?
>> 
>> - what about 'encoding' attribute of xsl:output instruction
>> - what about SablotSetEncoding API (overrides xsl:output encoding)
>> 
>> HTH
>> 
>> Pavel
>> 
>> Philip Stuyck wrote:
>> 
>> 
>>> Hello
>>> 
>>> I am experiencing problems when encoding is UTF-8 in netscape.
>>> When an popup window is displayed, the charackters underneeth
>>> the popup are being displayed as squares when the popup dissapears.
>>> Clearly a bug in netscape (another one :-) ).
>>> 
>>> But sablotron adds the content attribute automatically to the meta tag
>>> even
>>> if I want to override it to say iso-8859-1, which does not cause
>>> problems
>>> in netscape.
>>> 
>>> So my question really is how can I generate a meta tag with a different
>>> encoding than UTF-8. Suppressing the one that sablotron generates.
>>> 
>>> regards,
>>> Philip
>> 
>> --
>> Pavel Hlavnicka
>> Ginger Alliance Ltd.
>> Prague; Czech Republic
>> 


-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic

Reply via email to