![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 308 Pomógł: 0 Dołączył: 9.12.2009 Ostrzeżenie: (10%) ![]() ![]() |
mam funkcję która wyświetla mi krzaki zamiast polskich znaków
zamieniałem już UTF-16LE na iso-8859-2, utf-8, cp1250 ale bez skutu - Ciągle krzaki proszę o pomoc Kod function _encodeUTF16($string) {
$result = $string; if ($this->_defaultEncoding){ switch ($this->_encoderFunction){ case 'iconv' : $result = iconv('UTF-16LE', $this->_defaultEncoding, $string); break; case 'mb_convert_encoding' : $result = mb_convert_encoding($string, $this->_defaultEncoding, 'UTF-16LE' ); break; } } return $result; } |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 01:19 |