Yes the search engine returns nothing at all on string attributes. No errors. Our problem is the pmapper needs to translate UTF-8 to UCS-2 on the client side and translate the UCS-2 results back to UTF-8.
MS SQL Server only uses UCS-2 Labeling and indentifying are translating correctly, however the search engine always comes back with no results. I've tried re-coding the search.php everywhere the "UTF-8" is used but this didn't help. If the mapserver, query.php are translating UCS-2 fine then where is the translation getting lost in the search.php? Thanks Armin -----Original Message----- From: Armin Burger [mailto:armin.bur...@gmail.com] Sent: Friday, June 26, 2009 12:52 PM To: McCown, George Cc: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] pmapper search SQL USC-2 George I'm not sure if I fully get it from your description what the problems are. Is it that the search returns nothing at all? Are there any errors? Or is it just that all non-Ascii characters are returned with wrong encoding and hence displayed with '?' or strange characters? If it's just the latter case then it should work defining for the layer in the map file "LAYER_ENCODING" "USC-2" This should convert all result strings to UTF-8 before returned to the browser and displayed via Javascript. See also http://svn.pmapper.net/trac/wiki/DocManual#MultilingualUserInterface armin On 25/06/2009 22:55, McCown, George wrote: > Hello All > > On versions 3 and 4, I've been able to successfully connect, label and > identify on the SDE database. The character encoding is fine in those > parts. > However the search is still not decoding SQL Server USC-2 encoded > characters. > > I can't find where I can set CharSet = "UTF-8" in the response but also > use Response.CodePage = 65001 before using Response.Write and before > attempting to read any Request.Form values. Use Codepage directive in > the <%@ page header. > > Our attempts to write this to the search.php have failed. > > Any ideals would be grateful. > > Reguards > > George > > > This email and any files transmitted with it are intended solely for the use of the individual and/or entity to whom it is addressed. Unless noted otherwise above, any distribution or copying of this email is strictly prohibited. This email IS NOT a binding agreement on behalf of JJG. If you have received this message in error, please immediately notify the sender and delete this message from your computer. > Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, Norcross, Ga. 30071 www.jjg.com > > > ------------------------------------------------------------------------ ------ > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > This email and any files transmitted with it are intended solely for the use of the individual and/or entity to whom it is addressed. Unless noted otherwise above, any distribution or copying of this email is strictly prohibited. This email IS NOT a binding agreement on behalf of JJG. If you have received this message in error, please immediately notify the sender and delete this message from your computer. Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, Norcross, Ga. 30071 www.jjg.com ------------------------------------------------------------------------------ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users