polish signs

Topics: User Forum
Apr 15, 2009 at 6:59 PM
Edited Apr 15, 2009 at 7:45 PM
Hi

I use PHPExcel to create a raports, it`s very useful.
But i have a one problem:
In polish alphabet exist specific points : 'ł ą ż ź ć' [ALT + l a z x c] (in polish keybord of cource)
When i create a xlsx, or xls, or pdf file, i can`t open this file.

When i haven`t got us points everything is OK

Possible this problem applicable others fonts?, language settings.

Sorry for my english.

AlQ

//=============================================
Solution for iso-8859-2 sql server. 

setCellValue($j.$i, iconv('iso-8859-2', 'utf-8', $data['user_imie']));

The solution of problem is iconv() function.

Please dont delate this post, maybe somebody will have the same problem.
Apr 16, 2009 at 6:55 AM
Another way is using mb_convert_encoding(str $text, str $to, str $from) - for those who havent' iconv being installed
mb_convert_encoding($data['user_imie'], 'UTF8', 'CP1251')