Add encoding for the default action in FormTag

Issue: SPR-11426