fetch_all_rule() as $rule) { $rule['rulenameuni'] = urlencode(diconv($rule['rulename'], CHARSET, 'UTF-8', true)); $data[$rule['action']] = $rule; } savecache('creditrule', $data); } ?>