iconv doesn't work in smarty application issue.
| From: | chen jin | Date: | Thu, 12 Jan 2006 10:04:09 +0000 |
| Subject: | iconv doesn't work in smarty application issue. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13226@lists.php.net to get a copy of this message | ||
Hi!
I just begin learning smarty,when I rewrite an application with
smarty, I encounter a strange problem .the following simple
statement,seems doesn't work:
$somestr = iconv("UTF-8","GB2312",$somestr);
when I move to another application directory,It works. so I think it
just doesn't work in an smarty application directory.
but why?how can I use iconv in smarty?
besides,mb_convert_encoding doesn't work either.
any help is highly appricated!