File:  [parser3project] / parser3 / www / htdocs / Attic / _bug.html
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Wed Feb 18 13:45:59 2004 UTC (22 years, 5 months ago) by paf
Branches: MAIN
CVS tags: HEAD
beauty: coder can override save/file encoding by specifying it in xsl:output or in save/file hash-options

@main[]
$request:charset[UTF-8]
#$response:charset[UTF-8]
$response:charset[windows-1251]
$response:content-type[$.value[text/html]$.charset[$response:charset]]
$xdoc[^xdoc::create{<?xml version="1.0" encoding="$request:charset"?>
<doc>
исходный
</doc>
}]
$xdoc[^xdoc.transform[_bug.xsl]]
^xdoc.string[]
^xdoc.save[_bug-koi.xml;$.encoding[koi8-r]]
^xdoc.save[_bug-in-request-charset.xml]
<hr>
$request:charset/$response:charset

E-mail: