--- parser3/www/htdocs/Attic/_bug.html 2004/02/18 13:04:45 1.5
+++ parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27
@@ -1,14 +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[]
-
-$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