Results 1 to 3 of 3

Thread: Umlauts in Ajaxtabs

  1. #1
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Umlauts in Ajaxtabs

    == Ajax Tabs Content script ==

    --> URL: on dynamicdrive

    I found the above script which I fund very, very great and started to implement it to my own site. There were some minor problems I resolved but now I have a prob. I have no idea how to fix...
    I'm swiss... so my site is totally german. And we use the umlauts in our language (ä/ö/ü). And actually the script is showing the umlauts as little "Question-Icons". [I mean these: �] I searched everywhere in the code... but there isn't any charset declared or so... so... where and what have I to change, that this very cool script will show the umlauts correct?

    I hope someone can help... would be great

    Best wishes from
    Switzerland

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm I'm not too good with all the international encoding at all as it relates to Ajax. I did a search on Google, and it seems the easiest way is to use server side scripting such as PHP to send the proper header. In the case of this script, you'd change the external pages to fetch from htm (ie: external.htm) to .php instead, and at the top of the page(s), send the header:

    Code:
    header(’Content-type: text/html;charset=UTF-8′);
    See here: http://cakebaker.42dh.com/2006/01/17...ur-ajax-views/

  3. #3
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    thank you very much!

    Actually the UTF-8 encoding doesn't worked... but with "charset=iso-8859-1" everything is perfect

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •