Hiho,

 

I have again a little problem with my charset.

 

When I select a feature, which attribute information contains special caracters 
(Ä ö Ü etc...)

This characters will be display in the result query window in transformated 
utf8 characters.

 

The code of this transformation can be find in query.php in the function 
printFieldValues($fldName, $fldValue):

 

        // !!!! ENCODE ALL STRINGS IN UTF-8 !!!!

        if ($this->layerEncoding) {

            if ($this->layerEncoding != "UTF-8") {

                $fldValue = iconv($this->layerEncoding, "UTF-8", $fldValue);

            }

        } else {

            //$fldValue = utf8_encode($fldValue);

        }

 

I commentated the else-part and now it is working fine. But the developer of 
this code has

annoted that all strings have to be encoded in UTF-8 (// !!!! ENCODE ALL 
STRINGS IN UTF-8 !!!!).

 

Could I have the problem after? Why the developer noted this?

 

Thx for your opinion.

Thomas

 

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to