2006/6/29, Nico Klasens <[EMAIL PROTECTED]>:
I haven't used the jdbc.xml for a long time in favour of the external
datasource so I missed the new comment.
I gave it a try and it semms to work.
New idea. We create two mysql files in the database dir. One for utf8
and one for latin1. The utf8 version could be the default to match with
the mmbaseroot.xml encoding. The latin1 version could be used to switch
to the old behavior
I think the mmbaseroot.xml encoding can be ignored with new versions
of mysql, which actually do support Unicode. So I think the default
mysql.xml must be cleaned up from all hackery on this terrain
('database-force-encode-text' or so). It could also contain your
proposal. It sounds good, but I don't know what were the original
reasons not to do it like that in the first place.
Michiel
--
mihxil' http://meeuw.org
nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers