You are not logged in.
Pages: 1
Topic closed
Hi, it's me again...
After suggestion from developers, i've chnged some piece of functions.php in /glpi/glpi/common to handle UTF-8 (to dispaly polish native characters), I have strange situation. Before change to utf-8, after input some text with polish characters, that text was written to database, but polish letters was replaced by some others characters.
After change to UTF-8 I'll try to update some text to display polish characters, I'll type some text with polich letters, click update and ... to database is written only a partial text, exactly lettert ehich are before first polish letter, quick example ( # -> polish letter ) :
i'll type "abcdef#dkdiiusiksrjfs" , after click update in database I have "abcdef"
Database is set up ok ( mysql 4.1.12, charest utf8)
I'll hope I don't make this description too complicated I am so confused at the moment, I'll try to run glpi with full polish language support and I can't
Maby someone has configured UTF for native language support ?
Offline
What is your php default charset or the default charset of the env where php is running
Last edited by baaz (2005-06-08 14:13:51)
Bazile Lebeau
Offline
php default charset is set to null (disabled), on the system variables LANG.... are not defined too.
Offline
And if you set your php default charset to UTF 8, does it works ?
Bazile Lebeau
Offline
After set up "default_charset" to utf-8 it is a little better - characters are written to database, but if I try to write for example "żąś", in database it is written as "żÄ?Å? " and the same displayed on screen. I was trayed many "combinations" and now I am more stupid than before
Hope you all can see polish letters in my post
Offline
you could see in the DBmysql class ... of in htmlentities/unhtmlentities functions to use utf_decode.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Pages: 1
Topic closed