the headers look good, it must be the data!

PHP is clobbering the UTF... htmlentities sounds cute but they aren't
available in XML.

more like hex entities or decimal entities or just proper utf!


 a hex entity
*&#160*; a decimal entity
  an html entity.... they don't normally work in xml

On 3/27/07, amircx <[EMAIL PROTECTED]> wrote:


when i do submit , ive pasted the action headers from firebug

Response Headers
Date    Tue, 27 Mar 2007 18:02:01 GMT
Server  Apache/2.0.52 (CentOS)
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Content-Encoding        gzip
Vary    Accept-Encoding
Content-Length  129
Connection      close
Content-Type    text/html; charset=utf-8
Request Headers
Host    forms.linuxlab
User-Agent      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3
)
Gecko/20070309 Firefox/2.0.0.3
Accept
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive      300
Connection      close
Content-Type    application/x-www-form-urlencoded
X-Requested-With        XMLHttpRequest
Referer http://forms.linuxlab/test5.php
Content-Length  237
Cookie  PHPSESSID=0ci5og0f6u6s2al7gup0te9bt2
Pragma  no-cache
Cache-Control   no-cache




and this is the page where is the form located (test.php)

Response Headers
Date    Tue, 27 Mar 2007 18:01:56 GMT
Server  Apache/2.0.52 (CentOS)
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control   no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma  no-cache
Content-Encoding        gzip
Vary    Accept-Encoding
Content-Length  2234
Connection      close
Content-Type    text/html; charset=UTF-8
Request Headers
Host    forms.linuxlab
User-Agent      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3
)
Gecko/20070309 Firefox/2.0.0.3
Accept
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive      300
Connection      keep-alive
Cookie  PHPSESSID=0ci5og0f6u6s2al7gup0te9bt2
Cache-Control   max-age=0

is that helps?







amircx wrote:
>
> hey. when im trying to send data to mysql or anything else in forgin
> language such hebrew its retruns me gibbrish... its a known bug?
> how can i fix it? i need to use php htmlentitles() ?
> im returning the data in json
>

--
View this message in context:
http://www.nabble.com/utf-8-and-jquery-tf3466629.html#a9690931
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to