przemz
29-07-2010, 00:58
Cześć, mam problem z kodowaniem gdy wstawię w mod_php kod php:
<div class="moduletable"><ul class="latestnews">
<li class="latestnews">
<?php
$foo=ssi_recentTopics($num_recent = 4, $exclude_boards = null, $output_method = 'array');
foreach ($foo as $topic) {
echo $topic['link'].'';
}
?>
</li></ul></div>
Odpowiada on za wyświetlanie 4 ostatnich tematów z forum smf.
Problem polega na tym, że nie są wyświetlane polskie znaki:
http://img299.imageshack.us/img299/2926/47775739.jpg (http://img299.imageshack.us/i/47775739.jpg/)
Joomla jest w UTF-8
SMF UTF-8 pl
W czym tkwi problem ?
<div class="moduletable"><ul class="latestnews">
<li class="latestnews">
<?php
$foo=ssi_recentTopics($num_recent = 4, $exclude_boards = null, $output_method = 'array');
foreach ($foo as $topic) {
echo $topic['link'].'';
}
?>
</li></ul></div>
Odpowiada on za wyświetlanie 4 ostatnich tematów z forum smf.
Problem polega na tym, że nie są wyświetlane polskie znaki:
http://img299.imageshack.us/img299/2926/47775739.jpg (http://img299.imageshack.us/i/47775739.jpg/)
Joomla jest w UTF-8
SMF UTF-8 pl
W czym tkwi problem ?