On Apr 1, 2005, at 5:03pm, Brion Vibber wrote:
Using the same encoding?
Latin-1 or UTF-8 wiki?
Do you mean using the same encoding on the import as the dump? Or, was the correct encoding (to match the DB) used on the dump (or import)? Or something else?
I'll have to check on exactly how the dump was generated. I've been using CocoaMySQL (Mac OS X) to do the imports and have tried both encodings, although, perhaps I should try it from the command line to make sure CocoaMySQL is doing what I think it is. (The dump was generated from a Linux system, although, I wouldn't think that would make a difference.)
As to the wikis, the following are set to their DefaultSettings.php values:
$wgInputEncoding = 'ISO-8859-1'; # LanguageUtf8.php normally overrides this $wgOutputEncoding = 'ISO-8859-1'; # unless you set the next option to true: $wgUseLatin1 = false; # Enable ISO-8859-1 compatibility mode $wgEditEncoding = '';
But it sounds like I need to learn a bit more about this.
Assuming you can give an answer based on the information I've provided, what is the correct way to do the dumps and imports? (URL or page name on Meta?)
John Blumel