[pmwiki-users] Changing charset from ISO-8859-1 to UTF-8
Patrick R. Michaud
pmichaud at pobox.com
Thu Apr 7 09:01:50 CDT 2005
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. 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.
> 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. :-)
Pm
More information about the pmwiki-users
mailing list