[pmwiki-users] problem with utf-8 chars and TimeFmt
Patrick R. Michaud
pmichaud at pobox.com
Thu Mar 2 12:51:27 CST 2006
On Thu, Mar 02, 2006 at 12:47:23PM -0600, Patrick R. Michaud wrote:
> Oh, you can always get to a global variable via $GLOBALS:
>
> $FmtPV['$DiffTimeUTF-8'] =
> 'utf8_encode($GLOBALS["FmtV"][\'$DiffTime\'])';
>
> This is probably the best bet for now.
...except it probably needs to be '$DiffTimeUTF8' without the
hyphen, otherwise it won't get recognized as a page variable
(page variables cannot contain hyphens).
Pm
More information about the pmwiki-users
mailing list