Hello.

Recently I've been working on tcl's unicode features (I must say I was
impressed by the fact that after 'encoding system iso8859-2' string
toupper converted all the Polish fonts to uppercase (which actually
makes sense ;-).

Anyways, I have a small page which uses Polish fonts - it works fine -
the fonts are sent to the browser the way they are in the sources.
However, when I put 'encoding system iso8859-2' into GlobalInitScript,
the fonts get messed up. I would like it to work as 8859-2 since it is
encoding I'm using. Does anybody have an idea how to work this thing
out?

>From what I think, dtcl should use Tcl_ExternalToUtf() in some way. Did
anybody have same problems?

p.s. I'm recompiling tcl with default encoding changed in
unix/tclUnixInit.c, this should help - I'll recompile mod_dtcl as well
just in case and try it again. But still, when I use the following
script:
<+
encoding system iso8859-2
set f [open body.txt r]
set fc [read $f]
close $f
puts $fc
+>

everything seems to work so I suppose this could be done in a nicer way.
Also, it would be nice if dtcl would have configuration options for
inputencoding and outputencoding.

p.s.2. I'm currently using mod_dtcl 0.8.12, but I'm downloading the CVS
version to my home computer. Maybe this will help :>

-- 
Wojciech Kocjan
email: [EMAIL PROTECTED]
tel:   +48-501-778778


PGP signature

Reply via email to