[pmwiki-users] Changing charset from ISO-8859-1 to UTF-8

Laurent Meister meister at apfelwiki.de
Thu Apr 7 11:13:16 CDT 2005


Am 07.04.2005 um 16:01 schrieb Patrick R. Michaud:

> On Thu, Apr 07, 2005 at 11:37:16AM +0200, Laurent Meister wrote:
>> Hello,
>>
>> is there a nice way to convert existing pages from a pmwiki written
>> with ISO-8859-1 to UTF-8?
>
> Depends on what you consider to be "nice".  :-)
>
> You can often enlist a browser's help in this -- edit a page that is
> encoded in ISO-8859-1, copy the markup text to the clipboard, and
> then paste it into the edit form for a site that is set up for utf-8.
> The broswer will often handle the encoding translation.
>
> Still, I suppose this is more work than one would want to do, 
> especially
> for a large site.

That is the reason why I posted my problem here. On ApfelWiki we have 
nearly 1500 wikipages. And it would be a lot of work. :-(

>  I could see about coming up with a translation
> module for PmWiki, that could do mass conversion of pages or perhaps
> even automatically converting character sets on the fly.

That's what I consider to be nice ;-)



>
>> Some Browser seems not to show chars like the " ?" euro-symbol
>> properly. Switching the page to UTF-8 would solve this problem.
>
> You might also treat the euro-symbol chars as markup to be converted to
> €, either when the page is rendered or when it is saved.  This 
> might
> eliminate the need to convert pages to utf-8.  Let me know if you want 
> to
> try this approach.  :-)

You mean to make a special markup skript for this?

Laurent Meister (kt007)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2111 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20050407/1f1836ae/attachment.bin 


More information about the pmwiki-users mailing list