[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Perl workaround for XSLT escaped UTF-8 pass-thru t

Subject: Re: Perl workaround for XSLT escaped UTF-8 pass-thru to XHTML
From: Gan Uesli Starling <alias@xxxxxxxxxxx>
Date: Sat, 22 Mar 2003 00:04:33 -0500
apache perl utf
Gan Uesli Starling wrote:
Mike Brown wrote:

Now as for your other problem, I fail to see what the problem is with having
encoded characters in the document. If the document is UTF-8 or UTF-16
encoded, there's no need to ever use a numeric character reference, so long as
the document or delivery protocol properly declares the encoding. The browser
will handle it just fine, as long as the user has not overridden the encoding
(which, sadly, they are allowed to do).

Is on an Apache 2.0 server on NetBSD 1.6 in my home. May be that Apache
is defaulting to UTF-8 for XML and not for HTML?
Okay, there seems to be an issue with Apache here. I FTP'd the
file to another Apache server running under FreeBSD to see if
it did the same there. It did not. I will investigate and report
back.

Solved! My generic installation of Apache 2 on NetBSD 1.6 held this line...

AddDefaultCharset ISO-8859-1

...so I changed it to...

AddDefaultCharset UTF-8

...then re-started Apache and that fixed it.

I will hang onto that Perl script as a possible
workaround for if I did NOT have control of the
web server...since it worked in spite of the
Apache default charset being opposed.

Thanks,

Gan

--

Mistera Sturno - Rarest Extinct Bird

 <(+)__       Gan Uesli Starling
  ((__/)=-    Kalamazoo, MI, USA
   `||`
    ++        http://starling.us


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.