Dear Massimo,
I have somewhat used utf-8. But never on the arguments passed to the url.
I think you should start debugging with a simple check on "encoding
system" (just write a rivet script that prints the result).
Ideally, you must get the same result on both systems (although I doubt).
If encoding system within rivet returns utf-8, probably you can use the
parameters unconverted. If it returns any other encoding,
encoding convertfrom utf-8 may be needed.
Best,
George
Στις 23/9/2019 03:17, ο Massimo Manghi έγραψε:
Does anyone have experience with the Apache handling of UTF8 strings?
I have two Apache instances running the same code and having largely
the same configuration but, while the first I built from source works
as expected the latter tampers with URLs where arguments are strings
having UTF8 encoded accented characters, like those widely used in
French and to a minor extent in Italian. Those characters go through
some sort of double UTF8 conversion because they can be forced to
display correctly if transformed calling 'encoding' beforehand
set my_string [encoding convertfrom utf-8 $my_string]
There is also some interaction with ::rivet::escape_string that fails
to recognize those characters as alphanumeric and escapes them, but
what bothers me is that I couldn't find an obvious explanation for the
2 Apache instances behaving in a different way (AddDefaultCharset is
left unset in both configurations, Apache2 versions are different but
very close each other)
-- Massimo
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org