I have

AddDefaultCharset UTF-8

in my apache conf file... it may work in htaccess also.

I decided many years back to go utf all the way!


On 11/17/06, Alexander Petri <[EMAIL PROTECTED]> wrote:
>
>  yes that is the problem
>  how can i force the encoding type in the js?
>  or have i to edit the htaccess file - or what can i do?
>
>
> Ⓙⓐⓚⓔ wrote:
>  all ajax calls rely on the encoding set by the server. are you getting
> ? instead of ü?
>
> On 11/17/06, Alexander Petri <[EMAIL PROTECTED]> wrote:
>
>
>  thank you that worked, but why do i get strange chars
>  like this:
>
> �
>
>
>  Matt Stith wrote:
> Your problem is right here:
>
>  $(this).parent().append(load(href));
>
>  'Load' isnt a global function, and it will automatically put the response
> of the load statement into the called element, so try this:
>
>  $('[EMAIL PROTECTED]').oneclick(function(e){
>  e.preventDefault();
>
>  var href=$(this).href();
>  var me = this;
>  $.get(href,function(response) {
>  $(me).parent().append(response);
>  }
>
>  $(this).html("hide comments");
>  $(this).click(showhideComments);
>
> });
>
>  Untested, but it should work.
>
> On 11/17/06, Alexander Petri < [EMAIL PROTECTED]> wrote:
>
>
>  i have a simple question
> i have this sample html:
>
> <h3>Headline 2</h3>
> <p class="text" >My text......</p>
> <p><a href='blog/comments/2' name='comment'>show comments</a></p>
>
> my js is like this:
>
> $('[EMAIL PROTECTED]').oneclick(function(){
>  var href=$(this).href();
>  $(this).parent().append(load(href));
>  $(this).html("hide comments");
>  $(this).click(showhideComments);
> });
>
> i just want to load my comments behind the a Tag in the <p> tag
> but it just shows the the new site
> could anyone help me?
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>  ________________________________
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
>
>
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>


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

Reply via email to