Re: Encoding problems
Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
Jukka Zitting <[email protected]> wrote: > > Hmm, would it be possible to make a simple commandline tool to run this > > process, checking the current charsets of midgard and mysql and making > > sure that they are correctly set and advising the user on what to do? I > > bet we'll see a lot of issues like this one in the coming year. > > Good idea. The process is a bit dangerous and involves a lot of nasty > corner cases (a database could use different character sets for > different sites), but with good backups, proper checking, and user > interaction it could probably be made safe enough. I just added "Convert" option to dg. But I wonder about one thing. How one may dump db with character information using MySQL 4.0 ? This seems to be supported by MySQL >= 4.1. Piotras