李琴 wrote: > Hi, > I setup a Zh-wiki . > > And now I have tried to use '$wgTitle = Title::newFromText( "MyArticle" > ); > $wgArticle = new Article( $wgTitle ); > $wgArticle->insertNewArticle( "$text", '', false, false ); //$text > contains the rawText fo the new articl' > > to add a article to local wiki.But wiki can't recognize the Chinese.The > display of this articl are garbled. > > Can you tell me why is there such a problem? > > Thanks a lot. > > vanessa lee
What do you mean with 'wiki can't recognize the Chinese'? The contents of $text aren't being properly rendered at the wiki? Check that its contents are in utf-8. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l