--- parser3/www/htdocs/Attic/_bug.html 2004/02/18 13:45:59 1.7 +++ parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27 @@ -1,16 +1,10 @@ -@main[] -$request:charset[UTF-8] -#$response:charset[UTF-8] +$request:charset[koi8-r] $response:charset[windows-1251] -$response:content-type[$.value[text/html]$.charset[$response:charset]] -$xdoc[^xdoc::create{ - -исходный - -}] -$xdoc[^xdoc.transform[_bug.xsl]] -^xdoc.string[] -^xdoc.save[_bug-koi.xml;$.encoding[koi8-r]] -^xdoc.save[_bug-in-request-charset.xml] -
-$request:charset/$response:charset \ No newline at end of file + +$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251] +#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here] +#^bpt[] +^connect[$SQL.connect-string]{ + ^string:sql{select question from faq}[$.limit(1)] +} +OK