if ( $online == 1 ) { # i set this one before, according to the environment: production or development use POSIX 'locale_h'; setlocale( LC_ALL, "pt_BR.ISO8859-1" ); }