Gnus development mailing list
 help / color / mirror / Atom feed
* [Tony Graham <tgraham@mulberrytech.com>] Re: XT: I/O of iso-8859-1 characters?
@ 1999-08-13 10:32 Kai Großjohann
  1999-08-13 11:34 ` Simon Josefsson
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 1999-08-13 10:32 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

The following message wasn't decoded properly when I saw it on the XSL
mailing list.  Wonder why?  The MIME tags seem to be correct.

kai
-- 
I like BOTH kinds of music.


[-- Attachment #2: Type: message/rfc822, Size: 4024 bytes --]

From: Tony Graham <tgraham@mulberrytech.com>
To: xsl-list@mulberrytech.com
Subject: Re: XT: I/O of iso-8859-1 characters?
Date: Thu, 12 Aug 1999 20:23:21 -0400 (EST)
Message-ID: <14259.25977.980000.817753@menteith.com>

At 12 Aug 1999 18:16 +0200, Kai Großjohann wrote:
 > \0We use XT to convert XML to HTML for presentation.  As we are in an
 > iso-8859-1 environment, our XML files are wont to contain iso-8859-1
 > characters.  We don't mind whether the resulting HTML also uses
 > iso-8859-1 characters or whether it uses "&auml;" style entities.

One day you should be able to use the result-encoding attribute on
xsl:stylesheet to specify the preferred encoding for the result tree.
XT doesn't yet support that (according to xt.htm in the current XT
distribution), so you're currently out of luck.

If you are producing HTML files, you can leave off the third argument
on the XT command line and pipe the XT output into a conversion
program, such as uniconv from Basis Technology or, I believe, a GNU
"recode" program (which I haven't found yet), to translate UTF-8 into
ISO 8859-1.

Another option is to specify UTF-8 as the character set of your HTML
by putting the following in the <HEAD> of your HTML document:

<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=utf-8">

You'll have to try it to see if it works with your browsers.

Regards,


Tony Graham
======================================================================
Tony Graham                            mailto:tgraham@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-09-24 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-13 10:32 [Tony Graham <tgraham@mulberrytech.com>] Re: XT: I/O of iso-8859-1 characters? Kai Großjohann
1999-08-13 11:34 ` Simon Josefsson
1999-09-24 18:09   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).