Re: Convert wiki to UTF-8?
Johan Bengtsson <[email protected]> Fri, 26 Jul 2024 14:49:54 +0000
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <GVYP280MB036694A5A6032E1736F12029CEB42@GVYP280MB0366.SWEP280.PROD.OUTLOOK.COM> |
Hi, I have now converted our wiki with the help of your recipe. It seems to have worked well. Some information: Server OS: Redhat Enterprise 7.9 File system: xfs PHP: 8.1 Number of groups in the wiki: approx 70 Pages: 3700. Thank you very much for this recipe!:-) -Johan Bengtsson ________________________________________ Från: pmwiki-users <[email protected]> för Petko Yotov <[email protected]> Skickat: den 13 juli 2024 13:30 Till: Pmwiki Users Ämne: Re: [pmwiki-users] Convert wiki to UTF-8? I've added a recipe that migrates wiki page files and attachments from an older 8-bit encoding to UTF-8. https://www.pmwiki.org/wiki/Cookbook/MigrateUTF8 Please have a recent backup snapshot before proceeding, then follow the instructions. This may or may not work on MacOSX filesystems. Let me know if you were successful. Petko -- If you upgrade : https://www.pmwiki.org/Upgrades On 05/07/2024 15:44, Petko Yotov wrote: > I started working on a recipe to migrate a wiki to UTF-8. > > PmWiki already has the helper recode functions, and should be able to > read and convert the page files with the old encoding correctly on the > fly. > > The recipe will rename the directories, page files, and uploads, that > have international characters. > > Could you tell me more about the installation to be migrated? If you > prefer you can reply to me privately / off-list. > > - Operating system > - File system, e.g. ext4 > - PHP version > - PmWiki version > - How many wikigroups, and total pages? > - What languages are used on the wiki? > - Current encoding / charset (default is Latin1/cp1252) > - Value of $UploadPrefixFmt if customized > - Any custom $WikiDir or $WikiLibDirs which adds custom page stores > such as PerGroupSubDirectories, CompressedPageStore, SQLite, or other > > > Does the wiki have any attached files that have international > characters in their names, or where the wikigroup has international > characters in the name? > > Is the wiki reachable publicly and can I have a look? > > Petko > > > On 04/07/2024 13:47, Johan Bengtsson wrote: >> Hi, >> >> When reading: https://www.pmwiki.org/wiki/PmWiki/UTF-8 >> >> it says: >> >> "Enabling UTF-8 on existing wikis ↑ >> Currently, this is possible only if your group and page names, as well >> as upload names, don't contain international characters. " >> >> I have an old wiki with a lot of international characters in group & >> page names that I would like to convert. >> >> Any tips for doing this? >> >> -Johan Bengtsson _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users