Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: [Tony Graham <tgraham@mulberrytech.com>] Re: XT: I/O of iso-8859-1 characters?
Date: 13 Aug 1999 12:32:22 +0200	[thread overview]
Message-ID: <vafiu6kug21.fsf@petty.cs.uni-dortmund.de> (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
======================================================================

             reply	other threads:[~1999-08-13 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-13 10:32 Kai Großjohann [this message]
1999-08-13 11:34 ` Simon Josefsson
1999-09-24 18:09   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vafiu6kug21.fsf@petty.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).