yes, it's the better solution and I will change it. It remained like it is 
because I never have to deal with anything else than Latin1 or Unicode. The 
main reason to use utf8_encode was because it did not explicitly require 
libiconv installed as iconv functions did. But in fact, it IS required also for 
utf8_..code. So it makes no sense to use it.

armin


-------- Original-Nachricht --------
Datum: Wed, 13 Dec 2006 13:41:28 +0100
Von: "Gambin Dejan" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: [pmapper-users] map2unicode question

> Hi,
> 
> May I ask if there is a special reason why iconv is not being used
> instead of utf8_encode for class names and description metadata? Since
> iconv is used in query.php anyway, I think it is better to using it
> because utf8_encode assumes the input string is in ISO-8859-1 (latin1)
> encoding so it doesn't work good if the class names/description metadata
> is written in different encoding. 
> 
> I was thinking about using iconv, assuming that class names/description
> metadata encoding is the same as LAYER_ENCODING, so LAYER_ENCODING
> metadata parameter can be used as input character set.
> 
> regards, dejan
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to