On Wed, Jun 14, 2006 at 12:49:38AM -0700, Brion Vibber wrote:
Christian Hammers wrote:
On Tue, Jun 13, 2006 at 10:37:34AM -0700, Brion
Vibber wrote:
Christian Hammers wrote:
On Tue, Jun 13, 2006 at 04:32:20PM +0200,
Christian Hammers wrote:
> Fatal error: Call to a member function getNamespace() on a non-object in
> /usr/share/mediawiki1.5/includes/Article.php on line 936
The problem was apparently that there was UTF-8 encoded title strings
in the XML.
That's normal. Do you mean *non*-UTF-8 encoded title strings?
Sorry for the confusion, what I meant was non-US-ASCII chars like
German Umlauts äöüß which were encoded as two-byte UTF-8 chars.
That's normal then. This should not cause any problems whatsoever.
Once I changed e.g. "ö" to
"oe" in all <title> contents, the import
succeeded.
This should absolutely not be necessary. Are you certain that those characters
*were* encoded correctly?
Indeed, some titles had correct UTF8 byte sequences for the German
Umlauts and some not:
NetzwerkgerÀte (0xc3 0xa4 for Netzwerkgeräte - correct)
Bï¿œronetz (0xef 0xbf 0xbd for Büronetz - incorrect)
bye,
-christian-
--
Christian Hammers WESTEND GmbH | Internet-Business-Provider
Technik CISCO Systems Partner - Authorized Reseller
Lütticher Straße 10 Tel 0241/701333-11
ch(a)westend.com D-52064 Aachen Fax 0241/911879