Eduard Witteveen wrote: > Michiel Meeuwissen wrote: > > >CALL FOR: New attributes on StorageManager. > > > >Follows a long story, I'll add an abstract near the end. > > > > > Shouldnt this be on the DatabaseStorageManager(protected on the class)? > From what i understand is that the database chars are stored in the > wrong format.
It's implementation became the very general possibility to specify a filter on retrieval and storage of a String. I figured that may come in useful also with other then database implementations (of which exist, er, none), so those options are on StorageManagerFactory. The 'lie-cp1252' option is more of a hack, and so i confined its scope to only the database implementation. > By using these attributes, the String retrieved from the DatabaseStorage > will do a convertion after retrieving the value from the database (which > was faulty and what we want to solve) Yes, but since it is a very general filter, I can imagine that one would want to put it to some other use. E.g. if you want to use property files as storage (hey, there _are_ crazy people out there), you may plug in 'UnicodeEscaper' or so, and that problem would be solved out-of-the box... Michiel -- Michiel Meeuwissen mihxil' Mediacentrum 140 H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
