--- parser3/tests/119.html 2003/07/24 11:25:58 1.2
+++ parser3/tests/119.html 2008/04/10 08:40:35 1.3
@@ -1,3 +1,31 @@
-$xdoc[^xdoc::create[вася]]
-^xdoc.firstChild.setAttribute[name;значение]
-^xdoc.string[]
+@main[]
+# $request:charset and $response:charset are utf-8
+^$request:charset: $request:charset
+^$response:charset: $response:charset
+
+# content in utf-8: ok
+^do{
+ $xdoc[^xdoc::create[вася]]
+ ^xdoc.firstChild.setAttribute[name;значение]
+ ^xdoc.string[]
+}
+
+# content in windows-1251: must fail
+^do{
+ $xdoc[^xdoc::create[вася]]
+ ^xdoc.firstChild.setAttribute[name;значение]
+ ^xdoc.string[]
+}
+
+
+
+@do[jCode]
+