[Mediawiki-l] Special Characters from database.

Platonides Platonides at gmail.com
Tue Jul 24 21:21:01 UTC 2007


Adam Meyer wrote:
> I have an external program for my wiki that grabs mwt.old_text and  
> puts it in a text box. Any time there are special characters (E.G. ®  
> © º (registered, copyright, degrees)) a capital A with an accent mark  
> shows up before it. Im sure that this is just the way that it is  
> store in the database, or an unicode issue, but how does mediawiki  
> pull it with out this?
> 
> You can see the problem here: (may be broken in IE)
> http://www.risdpedia.net/interface/easy_edit/index.php?title=Rust- 
> Oleum_Specialty_High_Heat
> 
> Thanks,
> -Adam

This is because they're in UTF-8. If you convert from UTF-8 to iso-8869 
you'll get the right symbols. Seems you hit some special cases where the 
second character matches the ascii one.
Would it be another character, like á you would find á but that á and à 
are both As is just by luck.




More information about the MediaWiki-l mailing list