Results 1 to 7 of 7

Thread: Swedish characters in "AjaxTabs Content"

  1. #1
    Join Date
    Oct 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Swedish characters in "AjaxTabs Content"

    Hello!

    I wonder if anyone can help me with "AjaxTabs Content script".
    http://www.dynamicdrive.com/dynamici...tent/index.htm

    It works as it is supposed to but no Swedish characters is shown.
    Do you know why?
    Is there anything I can do?

    I have tried do put Swedish characters in demo files that follows the package and it is the same there.

    Help

    Best regards!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    What encoding are you using for your page? UTF-8 worked, once setup properly, for a page I just made with Arabic.
    Swedish doesn't have anything that weird, just ø, ä and å, right?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Oct 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Encoding used
    <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />

    It's same for all pages but pages. All but AjaxTabs pages show Swedish characters.

    Right!
    Swedish is a little simpler ÖÅÄ

    Edit: Forgotten
    content='text/html; charset=UTF-8' don't work

    Thanks!
    Last edited by BorO; 10-11-2007 at 08:08 AM. Reason: Forgotten

  4. #4
    Join Date
    Oct 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is there anyone who have a clue?

    Every Swedish character is changed to "?"
    Don't know why.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Even though you have the correct encoding on your page, when the server serves the Ajax content, it's using its (the server's) default encoding. There are various ways to change that, for a page, a site, or an entire server. If you have permission to use .htaccess on your host, that is often the easiest method to use for a page, directory, or site. If you own the server, you can change its configuration.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Oct 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    Even though you have the correct encoding on your page, when the server serves the Ajax content, it's using its (the server's) default encoding. There are various ways to change that, for a page, a site, or an entire server. If you have permission to use .htaccess on your host, that is often the easiest method to use for a page, directory, or site. If you own the server, you can change its configuration.
    Sounds like a solution. Great!
    Yes, I own the server but what to change and where?

    Thanks!

  7. #7
    Join Date
    Oct 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have fixed it!

    Thank you for your help!

    I use XAMPP

    Solution:
    I put
    "AddDefaultCharset iso-8859-1"
    in httpd-languages.conf

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
  •