This filter converts any input to be uppercased.
The following options are supported for
Zend_Filter_StringToUpper:
encoding: This option can be used to set an encoding which has to be used.
This is a basic example for using the StringToUpper filter:
<?php
$filter = new Zend_Filter_StringToUpper();
print $filter->filter('Sample');
// returns "SAMPLE"
Like the StringToLower filter, this filter handles
only characters from the actual locale of your server. Using different
character sets works the same as with StringToLower.
<?php
$filter = new Zend_Filter_StringToUpper(array('encoding' => 'UTF-8'));
// or do this afterwards
$filter->setEncoding('ISO-8859-1');




