httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: Accents
Date Mon, 18 Jan 2016 12:32:07 GMT
* Lucien Gentis wrote:

> I only wanted to know if there was a way to enter accented characters in
> xml source files without having to replace them by their equivalent HTML
> entities in order they display correctly in html generated files.

Yes, that's certainly possible.

> I checked that with bind.xml.fr in my local svn source tree, but it
> didn't work, but what you say above point at the header of the xml
> source files :
> The one of bind.xml.fr is <?xml version="1.0" encoding="ISO-8859-1" ?>,
> and my text editor encoding is UTF-8.
> Here is perhaps the solution.
>
> I'll try to modify this header when I'll be at home . . .

Lots of editors should have some way to autodetect the encoding from the file 
itself. Maybe there's some option in yours, too.

Cheers,
nd
-- 
my @japh = (sub{q~Just~},sub{q~Another~},sub{q~Perl~},sub{q~Hacker~});
my $japh = q[sub japh { }]; print join       #########################
 [ $japh =~ /{(.)}/] -> [0] => map $_ -> ()  #            André Malo #
=> @japh;                                    # http://pub.perlig.de/ #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message