Re: [pmapper-users] search in IE

2007-05-30 Thread Armin Burger
Wirote

thanks for the hint. I will add this as patch for v3.0 if somebody still wants 
to use this version. For v3.1 I got rid of this problem by using POST instead 
of GET requests for the AJAX calls. POST has not these prpblems of non Ascii 
characters in the parameter values. I think encodeURI has been introduced in JS 
1.5, my reference manual is still as of 1.3 ;-)

armin


 Original-Nachricht 
Datum: Thu, 31 May 2007 13:36:30 +0700
Von: "wirote la" <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], pmapper-users@lists.sourceforge.net
Betreff: Re: [pmapper-users] search in IE

> Dear Armin,
> 
> I'm not sure it work for other encoding or not.
> My project use uft-8 encoding and problem with Thai character  when search
> with  IE  not problem  with  FireFox.
> I just insert a line  before line no.78 on xmlhttp.js
> 
> 
>  78> url = encodeURI(url); // add for thai search in IE
> 
> before 78>  req.open("GET", url, true);
> 
> Work well for me.
> 
> According to lazaros at http://www.nabble.com/PHP-and-AJAX-t3562272.html
> 
> hope it help,
> Wirote Laongmanee
> 
> 2007/5/17, Armin Burger <[EMAIL PROTECTED]>:
> >
> > It's a bit difficult to identify the problem. It is somewhere in the
> > handling of an XMLHttp request where IE6 does not want to accept
> > non-Ascii characters and the request fails. I never noticed this before.
> > I will see how to fix it.
> >
> > armin
> >
> > ivan mincik wrote:
> > > Dear Armin,
> > > first, thanks for relasing beta 5.
> > >
> > > I would like to also draw attention to one bug in searching layers by
> > > attributes in non UTF layers (in my case windows-1250)  in IE.
> > >
> > > In firefox of opera browsers, everything is OK. only IE is bad.
> > >
> > > When I try to find fo example string "Šariš" - nothing is found in
> layer
> > > - nothing is found in case when non UTF character is first in string.
> > >
> > > In the case of looking for Prešov I will get "Predmier Prečín
> Prešov
> > > PrejtaPredajná   Prestavlky  Prenčov   Preseľany   Ipeľské
> > > Predmostie   Preseľany nad Ipľom"
> > >
> > >
> > > Thanks
> >
> >
> -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
> 
> 
> 
> -- 
> Wirote Laongmanee
> http://parn-site.blogspot.com

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search in IE

2007-05-30 Thread wirote la
Dear Armin,

I'm not sure it work for other encoding or not.
My project use uft-8 encoding and problem with Thai character  when search
with  IE  not problem  with  FireFox.
I just insert a line  before line no.78 on xmlhttp.js


 78> url = encodeURI(url); // add for thai search in IE

before 78>  req.open("GET", url, true);

Work well for me.

According to lazaros at http://www.nabble.com/PHP-and-AJAX-t3562272.html

hope it help,
Wirote Laongmanee

2007/5/17, Armin Burger <[EMAIL PROTECTED]>:
>
> It's a bit difficult to identify the problem. It is somewhere in the
> handling of an XMLHttp request where IE6 does not want to accept
> non-Ascii characters and the request fails. I never noticed this before.
> I will see how to fix it.
>
> armin
>
> ivan mincik wrote:
> > Dear Armin,
> > first, thanks for relasing beta 5.
> >
> > I would like to also draw attention to one bug in searching layers by
> > attributes in non UTF layers (in my case windows-1250)  in IE.
> >
> > In firefox of opera browsers, everything is OK. only IE is bad.
> >
> > When I try to find fo example string "Šariš" - nothing is found in layer
> > - nothing is found in case when non UTF character is first in string.
> >
> > In the case of looking for Prešov I will get "Predmier Prečín Prešov
> > PrejtaPredajná   Prestavlky  Prenčov   Preseľany   Ipeľské
> > Predmostie   Preseľany nad Ipľom"
> >
> >
> > Thanks
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>



-- 
Wirote Laongmanee
http://parn-site.blogspot.com
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search in IE

2007-05-16 Thread Armin Burger
It's a bit difficult to identify the problem. It is somewhere in the 
handling of an XMLHttp request where IE6 does not want to accept 
non-Ascii characters and the request fails. I never noticed this before. 
I will see how to fix it.

armin

ivan mincik wrote:
> Dear Armin,
> first, thanks for relasing beta 5.
> 
> I would like to also draw attention to one bug in searching layers by
> attributes in non UTF layers (in my case windows-1250)  in IE. 
> 
> In firefox of opera browsers, everything is OK. only IE is bad.
> 
> When I try to find fo example string "Šariš" - nothing is found in layer
> - nothing is found in case when non UTF character is first in string. 
> 
> In the case of looking for Prešov I will get "Predmier Prečín Prešov
> PrejtaPredajná   Prestavlky  Prenčov   Preseľany   Ipeľské
> Predmostie   Preseľany nad Ipľom"
> 
> 
> Thanks

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users