[pmwiki-users] Localisation

Petko Yotov 5ko at 5ko.fr
Wed Jan 16 12:23:23 CST 2013


Simon writes:
> Something related to the browser/OS etc is changing the "ā" to an entity  
> character (ā),
> I'll investigate further.

If your wiki is in the ISO-8859-1 encoding, that encoding doesn't have all  
international characters, so the browsers convert the posted foreign  
characters to their HTML entities.

In this case you can enable UTF-8 in your wikis, but only if your group and  
page names, as well as upload names, don't contain international characters.

See http://www.pmwiki.org/wiki/PmWiki/UTF-8 .

New, empty wikis can have UTF-8 enabled without a problem.

Petko

>    On Wed, Jan 16, 2013 at 04:40:31PM +1300, Simon wrote:
>    > I have the markup
>    >
>    > [[BestPractices/Te Reo ]]Māori
>
>    >
>    > but the linked text only shows
>    > Te Reo M
>    > (should show Te Reo Māori)
>    >
>    > How can we update the set of characters that PmWiki uses
>    > to 'extend' the link.
>    > Perhaps this is a PITS issue, as I imagine that there are a number of
>    > characters with diacritics that should be included
>
>    PmWiki is able to handle diacritics if they're entered directly
>    and not using &#... notation.  See
>
>       
>     <URL:http://www.pmwiki.org/wiki/Test/Localization>http://www.pmwiki.org/w 
>    iki/Test/Localization
>
>    for a working example.
>
>    I don't think PmWiki should have to be aware of all letterforms
>    based on their &#... notation.  Enter the diacritic directly and
>    things should work fine (or at least as well as the underlying
>    PHP libraries will allow).
>
>    Pm
>



More information about the pmwiki-users mailing list