Board index   FAQ   Search  
Register  Login
Board index System Administration Server installation and configuration

Php interpreter empties vars which contains polish signs

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

Php interpreter empties vars which contains polish signs

Postby majcher » Mon Sep 10, 2012 6:32 am

Hello everyone.

I have non typical issue about php interpreter. Interpreter is not working properly when I use polish signs in values of vars. I must have is-8859-2 set as encoding characters.

Let's take this simple example for consideration.
Code: Select all
    function bobek($name="ą", $val="ę") {
     
    Zend_Debug::dump($name);
    Zend_Debug::dump($val);
    exit('wpada');
    }
    bobek('ąąąąąą', 'ęęęęę');


This function dumps nothing. Vars $name and $val exists, but they are empty. But if I change "ą" to "a" and "ę" to "e" everything works fine (strings "aaaaaa" "eeeee" are dumped in this case).


---little annouciation---
This is the first time I head such a issue. I request for help. Unfortunately I am not proficient in settings of php in apache server, so I ask for forbearance. I have been trying find solution on Internet and here in forum before i started this topic.
majcher
New php-forum User
New php-forum User
 
Posts: 1
Joined: Mon Sep 10, 2012 6:20 am

Return to Server installation and configuration

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron