[Mediawiki-l] Own Wiki / Customization / UTF-8 / ISO-8859-1

Andreas Kotes count-mediawiki at flatline.de
Wed Aug 11 12:01:12 UTC 2004


Heya,

* Brion Vibber <brion at pobox.com> [20040810 21:13]:
> >But I want to use Unicode ..
> 
> You'll want to convert your data from latin-1 to UTF-8, then. Dump, run 
> it through iconv, and restore.

iconv didn't help (mixed UTF-8 and ISO-8859-1 in the database),

while (<>) {
   s/\344/\303\244/g;
   s/\366/\303\266/g;
   s/\374/\303\274/g;
   s/\304/\303\204/g;
   s/\326/\303\226/g;
   s/\334/\303\234/g;
   s/\337/\303\237/g;
   print $_;
}

did.

so long,

   Count

-- 
Andreas Kotes - ICQ: 3741366 - The views expressed herein are (only) mine!
Follow the path of the unsafe, independent thinker. Expose your ideas to the
danger of controversy. Speak your mind and fear less the label of "crackpot"
than the stigma of conformity. (Thomas J. Watson) ### OpenPGP key 0x8F94C228
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20040811/87ceff5d/attachment.pgp 


More information about the MediaWiki-l mailing list