from_charset is used to transcode a string from a given charset to the internal charset. This is the exact opposite of the to_charset modifier. Charset encoding should be handled by the application ...
Although Smarty supplies this regex convenience modifier, it is usually better to apply regular expressions in PHP, either via custom functions or modifiers. Regular expressions are considered ...