Feature Proposal: Add encode and decode functions to TWiki::Func

Motivation

Plugins' needs to encode and decode text for URL and entity.

Description and Documentation

TWiki::Func::entityEncode( text, extra ) -> text -- entity encode text, as in TWiki::entityEncode()

TWiki::Func::entityDecode( text ) -> text -- entity decode text, as in TWiki::entityDecode()

TWiki::Func::urlEncode( text ) -> text -- url encode text, as in TWiki::_encode()

TWiki::Func::urlDecode( text ) -> text -- url decode text, as in TWiki::urlDecode()

Examples

Impact

Implementation

-- Contributors: PeterThoeny - 2012年11月13日

Discussion

This is now accepted by 7 day feedback period.

-- PeterThoeny - 2012年11月19日

This is now done in SVN trunk.

-- PeterThoeny - 2012年11月21日

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012年11月21日 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /