[pmwiki-users] Convert wiki to UTF-8?
Petko Yotov
5ko at 5ko.fr
Fri Jul 5 06:44:28 PDT 2024
Hi Johan,
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
More information about the pmwiki-users
mailing list